Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 74f2b2926c08f93e87c22044913e1156517f110b..7d41719eca8b4eb9b53d9060c92f3348642155d9 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1437,6 +1437,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
1, true); |
SimpleInstallFunction(prototype, "charCodeAt", |
Builtins::kStringPrototypeCharCodeAt, 1, true); |
+ SimpleInstallFunction(prototype, "endsWith", |
+ Builtins::kStringPrototypeEndsWith, 1, false); |
SimpleInstallFunction(prototype, "includes", |
Builtins::kStringPrototypeIncludes, 1, false); |
SimpleInstallFunction(prototype, "indexOf", |