- _.VERSION
- _.support
- _.support.argsClass
- _.support.argsObject
- _.support.enumErrorProps
- _.support.enumPrototypes
- _.support.funcDecomp
- _.support.funcNames
- _.support.nonEnumArgs
- _.support.nonEnumShadows
- _.support.ownLast
- _.support.spliceObjects
- _.support.unindexedChars
- _.templateSettings
- _.templateSettings.escape
- _.templateSettings.evaluate
- _.templateSettings.imports
- _.templateSettings.interpolate
- _.templateSettings.variable
_.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.funcDecomp
(boolean): Detect if functions can be decompiled by Function#toString
(all but PS3 and older Opera mobile browsers & avoided in Windows 8 apps).
_.support.funcNames
(boolean): Detect if Function#name
is supported (all but IE).
_.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.imports
(Object): Used to import variables into the compiled template.
_.templateSettings.interpolate
(RegExp): Used to detect data
property values to inject.
_.templateSettings.variable
(string): Used to reference the data object in the template text.