- _.VERSION
- _.support
- _.support.argsClass
- _.support.argsObject
- _.support.enumErrorProps
- _.support.enumPrototypes
- _.support.fastBind
- _.support.nonEnumArgs
- _.support.nonEnumShadows
- _.support.ownLast
- _.support.spliceObjects
- _.support.unindexedChars
- _.templateSettings
- _.templateSettings.escape
- _.templateSettings.evaluate
- _.templateSettings.interpolate
- _.templateSettings.variable
- _.templateSettings.imports
_.VERSION
(String): The semantic version number.
_.support
(Object): An object used to flag environments features.
_.support.argsClass
(Boolean): Detect if an arguments
object’s [[Class]] is resolvable (all but Firefox < 4
, IE < 9
).
_.support.argsObject
(Boolean): Detect if arguments
objects are Object
objects (all but Narwhal and Opera < 10.5
).
_.support.enumErrorProps
(Boolean): Detect if name
or message
properties of Error.prototype
are enumerable by default. (IE < 9
, Safari < 5.1
)
_.support.enumPrototypes
(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 sets a function’s prototype
property [[Enumerable]] value to true
.
_.support.fastBind
(Boolean): Detect if Function#bind
exists and is inferred to be fast (all but V8).
_.support.nonEnumArgs
(Boolean): Detect if arguments
object indexes are non-enumerable (Firefox < 4
, IE < 9
, PhantomJS, Safari < 5.1
).
_.support.nonEnumShadows
(Boolean): Detect if properties shadowing those on Object.prototype
are non-enumerable.
In IE < 9
an objects own properties, shadowing non-enumerable ones, are made non-enumerable as well (a.k.a the JScript [[DontEnum]] bug).
_.support.ownLast
(Boolean): Detect if own properties are iterated after inherited properties (all but IE < 9
).
_.support.spliceObjects
(Boolean): Detect if Array#shift
and Array#splice
augment array-like objects correctly.
Firefox < 10
, IE compatibility mode, and IE < 9
have buggy Array shift()
and splice()
functions that fail to remove the last element, value[0]
, of array-like objects even though the length
property is set to 0
. The shift()
method is buggy in IE 8
compatibility mode, while splice()
is buggy regardless of mode in IE < 9
and buggy in compatibility mode in IE 9
.
_.support.unindexedChars
(Boolean): Detect lack of support for accessing string characters by index.
IE < 8
can’t access characters by index and IE 8
can only access characters by index on string literals.
_.templateSettings
(Object): By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby (ERB). Change the following template settings to use alternative delimiters.
_.templateSettings.escape
(RegExp): Used to detect data
property values to be HTML-escaped.
_.templateSettings.evaluate
(RegExp): Used to detect code to be evaluated.
_.templateSettings.interpolate
(RegExp): Used to detect data
property values to inject.
_.templateSettings.variable
(String): Used to reference the data object in the template text.
_.templateSettings.imports
(Object): Used to import variables into the compiled template.