diff options
Diffstat (limited to 'js/src/builtin')
-rw-r--r-- | js/src/builtin/Module.js | 2 | ||||
-rw-r--r-- | js/src/builtin/ModuleObject.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/js/src/builtin/Module.js b/js/src/builtin/Module.js index b3365b505..64d62d216 100644 --- a/js/src/builtin/Module.js +++ b/js/src/builtin/Module.js @@ -509,7 +509,7 @@ function ResolutionError(resolution, kind, name, line, column) function ModuleEvaluate() { if (!IsObject(this) || !IsModule(this)) - return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluatie"); + return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluate"); // Step 1 let module = this; diff --git a/js/src/builtin/ModuleObject.cpp b/js/src/builtin/ModuleObject.cpp index 09193c9ca..30e7120c0 100644 --- a/js/src/builtin/ModuleObject.cpp +++ b/js/src/builtin/ModuleObject.cpp @@ -1034,8 +1034,6 @@ GlobalObject::initModuleProto(JSContext* cx, Handle<GlobalObject*> global) static const JSFunctionSpec protoFunctions[] = { JS_SELF_HOSTED_FN("getExportedNames", "ModuleGetExportedNames", 1, 0), JS_SELF_HOSTED_FN("resolveExport", "ModuleResolveExport", 2, 0), - JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleDeclarationInstantiation", 0, 0), - JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluation", 0, 0), JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleInstantiate", 0, 0), JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluate", 0, 0), JS_FS_END |