Version 1
[yaffs-website] / node_modules / grunt-legacy-log-utils / node_modules / lodash / _getLength.js
diff --git a/node_modules/grunt-legacy-log-utils/node_modules/lodash/_getLength.js b/node_modules/grunt-legacy-log-utils/node_modules/lodash/_getLength.js
new file mode 100644 (file)
index 0000000..1848d49
--- /dev/null
@@ -0,0 +1,15 @@
+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)
+ * 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;