Underscore.js _.escape() function
Note: Some specials files are needed to be include while using this code directly in the browser. It is very necessary to link the underscore CDN before going and using underscore functions in the browser. When linking the underscore.js CDN The “_” is attached to the browser as a global variable.
Parameters: It takes only one parameter i.e the string.
Returns: It returns the string.
Few examples are given below for a better understanding of the function.