diff --git a/lodash.src.js b/lodash.src.js index 0be79a8c0..a75049cd1 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -742,12 +742,6 @@ /** Used to resolve the decompiled source of functions. */ var fnToString = Function.prototype.toString; - /** - * Used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) - * in Safari on iOS 8.1 ARM64. - */ - var getLength = baseProperty('length'); - /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; @@ -4096,6 +4090,18 @@ return collection ? result(collection, target, fromIndex) : result; } + /** + * 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'); + /** * Gets the view, applying any `transforms` to the `start` and `end` positions. *