"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (realm) { // ECMA262 19.2.1 var func = new _index.NativeFunctionValue(realm, "Function", "Function", 1, function (context, args, argCount, NewTarget) { // 1. Let C be the active function object. var C = func; // 2. Let args be the argumentsList that was passed to this function by [[Call]] or [[Construct]]. args = argCount > 0 ? args : []; // 3. Return ? CreateDynamicFunction(C, NewTarget, "normal", args). return _singletons.Create.CreateDynamicFunction(realm, C, NewTarget, "normal", args); }); return func; }; var _index = require("../../values/index.js"); var _singletons = require("../../singletons.js"); //# sourceMappingURL=Function.js.map