Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

length-of-array-like.js 225B

12345678
  1. 'use strict';
  2. var toLength = require('../internals/to-length');
  3. // `LengthOfArrayLike` abstract operation
  4. // https://tc39.es/ecma262/#sec-lengthofarraylike
  5. module.exports = function (obj) {
  6. return toLength(obj.length);
  7. };