Underscore.js _.identity() Function
The _.identity() function is used to return the exact same replica of the value given to it as the argument. This function looks useless, but is used throughout Underscore as a default iteratee.
Note: It is very necessary to link the undescore CDN before going and using underscore functions in the browser. When linking the underscore.js CDN The “_” is attached to the browser as global variable.
_.identity( object );
Parameters: This function accepts single parameter object.
Return Value: This function returns the value of the given parameter.