30秒学会 JavaScript 片段 – isObject
Returns a boolean determining if the passed value is an object or not. Uses the Object constructor t...
Returns a boolean determining if the passed value is an object or not. Uses the Object constructor t...
Returns the last key that satisfies the provided testing function. Otherwise undefined is returned. ...
Checks if the provided value is an object created by the Object constructor. Check if the provided v...
Creates an object composed of the properties the given function returns truthy for. The function is ...
Groups the elements of an array based on the given function and returns the count of elements in eac...
Assigns default values for all properties in an object that are undefined. Use Object.assign() to cr...
Omits the key-value pairs corresponding to the given keys from an object. Use Object.keys(obj), Arra...
Creates a function that invokes fn with a given context, optionally adding any additional supplied p...
Creates a new object from the specified object, where all the keys are in lowercase. Use Object.keys...
Given an array of valid property identifiers and an array of values, return an object associating th...