lodash: added _.support.enumPrototypes property

This commit is contained in:
Ilya Mochalov
2015-08-03 14:28:53 +05:00
parent 287cb2e1b1
commit bb9e3ef86c
+8
View File
@@ -114,6 +114,14 @@ declare module _ {
**/
enumErrorProps: boolean;
/**
* Detect if prototype properties are enumerable by default.
*
* Firefox < 3.6, Opera > 9.50 - Opera < 11.60, and Safari < 5.1 (if the prototype or a property on the
* prototype has been set) incorrectly set the [[Enumerable]] value of a functions prototype property to true.
**/
enumPrototypes: boolean;
/**
* Detect if Function#bind exists and is inferred to be fast (all but V8).
**/