source:
node_modules/core-js-pure/internals/length-of-array-like.js@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 225 bytes |
Line | |
---|---|
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.