mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-30 23:17:48 +00:00
18 lines
470 B
JavaScript
18 lines
470 B
JavaScript
define(['./_baseProperty'], function(baseProperty) {
|
|
|
|
/**
|
|
* 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');
|
|
|
|
return getLength;
|
|
});
|