source:
node_modules/core-js-pure/internals/length-of-array-like.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 225 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | 'use strict'; |
2 | var toLength = require('../internals/to-length'); | |
3 | ||
4 | // `LengthOfArrayLike` abstract operation | |
5 | // https://tc39.es/ecma262/#sec-lengthofarraylike | |
6 | module.exports = function (obj) { | |
7 | return toLength(obj.length); | |
8 | }; |
Note:
See TracBrowser
for help on using the repository browser.