first
This commit is contained in:
8
node_modules/core-js/internals/length-of-array-like.js
generated
vendored
Normal file
8
node_modules/core-js/internals/length-of-array-like.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
var toLength = require('../internals/to-length');
|
||||
|
||||
// `LengthOfArrayLike` abstract operation
|
||||
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
||||
module.exports = function (obj) {
|
||||
return toLength(obj.length);
|
||||
};
|
Reference in New Issue
Block a user