source:
imaps-frontend/node_modules/core-js/internals/length-of-array-like.js
Last change on this file was 79a0317, checked in by , 6 days ago | |
---|---|
|
|
File size: 225 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 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.