30秒学会 JavaScript 片段 – colorize
Add special characters to text to print in color in the console (combined with console.log()). Use t...
Add special characters to text to print in color in the console (combined with console.log()). Use t...
Returns the first defined, non-null argument. Use Array.prototype.find() and Array.prototype.include...
Returns the native type of a value. Return ‘undefined’ or ‘null’ if the value is undefined or null. ...
Returns a customized coalesce function that returns the first argument that returns true from the pr...
Creates an array of key-value pair arrays from an object or other iterable (object, array, string, s...
Returns true if both functions return true for a given set of arguments, false otherwise. Use the lo...
Creates a function that invokes fn with partials appended to the arguments it receives. Use the spre...
Returns all elements in an array except for the first one. Return Array.prototype.slice(1) if the ar...
Compares two objects to determine if the first one contains equivalent property values to the second...
Returns true if the specified value is null or undefined, false otherwise. Use the strict equality o...