mirror of https://github.com/lukechilds/node.git
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.
16 lines
441 B
16 lines
441 B
9 years ago
|
var baseProperty = require('./_baseProperty');
|
||
10 years ago
|
|
||
|
/**
|
||
|
* Gets the "length" property value of `object`.
|
||
|
*
|
||
|
* **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)
|
||
|
* that affects Safari on at least iOS 8.1-8.3 ARM64.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {Object} object The object to query.
|
||
|
* @returns {*} Returns the "length" value.
|
||
|
*/
|
||
|
var getLength = baseProperty('length');
|
||
|
|
||
|
module.exports = getLength;
|