mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
16 lines
417 B
JavaScript
16 lines
417 B
JavaScript
![]() |
var baseProperty = require('./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');
|
||
|
|
||
|
module.exports = getLength;
|