Underscore.js _.functions() Function (original) (raw)
Last Updated : 28 Apr, 2025
Underscore.js _.functions() function is used to return the sorted list of all methods that are present in an object.
**Syntax:
_.functions(object);
**Parameters:
- **object: It contains the object element that holds the elements [key, value] pair.
**Return Value:
It returns the sorted list of all methods that are present in an object.
**Example: This example shows the use of the underscore.js _.functions() Function.
html `
`
**Output:
Output in the console