EXPLAIN

Underscore.js provides various functions categorized as:

• Collections

• Arrays

• Functions

• Objects

• Utility

• Chaining

Underscore.js enhances existing JavaScript capability, but does so without extending
the prototype object, which could make the library incompatible with other libraries
or your own application.
The utility’s functionality is accessible via the underscore (_) character, hence the name.
However, if you use it with another library that also uses the underscore, you can remove
the conflict:

var underscore = _.noConflict();

The solution demonstrated the _.memoize() functionality. The following code dem‐
onstrates just a sampling of some of the other functionality: