mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v3.7.0.
This commit is contained in:
16
internal/getLength.js
Normal file
16
internal/getLength.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
* in Safari on iOS 8.1 ARM64.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to query.
|
||||
* @returns {*} Returns the "length" value.
|
||||
*/
|
||||
var getLength = baseProperty('length');
|
||||
|
||||
return getLength;
|
||||
});
|
||||
Reference in New Issue
Block a user