first commit
This commit is contained in:
21
build/node_modules/prepack/lib/intrinsics/ecma262/ArrayProto_values.js
generated
vendored
Normal file
21
build/node_modules/prepack/lib/intrinsics/ecma262/ArrayProto_values.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
|
||||
exports.default = function (realm) {
|
||||
// ECMA262 22.1.3.30
|
||||
return new _index.NativeFunctionValue(realm, "Array.prototype.values", "values", 0, function (context) {
|
||||
// 1. Let O be ? ToObject(this value).
|
||||
var O = _singletons.To.ToObject(realm, context.throwIfNotConcrete());
|
||||
|
||||
// 2. Return CreateArrayIterator(O, "value").
|
||||
return _singletons.Create.CreateArrayIterator(realm, O, "value");
|
||||
});
|
||||
};
|
||||
|
||||
var _index = require("../../values/index.js");
|
||||
|
||||
var _singletons = require("../../singletons.js");
|
||||
//# sourceMappingURL=ArrayProto_values.js.map
|
||||
Reference in New Issue
Block a user