UNPKG
@coremail/core-js
Version:
latest (3.20.3-fix-avoid-third-party-bind)
3.20.3-fix-avoid-third-party-bind
Standard library
github.com/zloirock/core-js
zloirock/core-js
@coremail/core-js
/
internals
/
length-of-array-like.js
8 lines
(6 loc)
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var toLength =
require
(
'../internals/to-length'
);
//
`LengthOfArrayLike`
abstract operation /
/ https:/
/tc39.es/ecma
262/
#sec-lengthofarraylike
module
.exports = function (obj) {
return
toLength(obj.length); };