Using some(), every() and Object.values() to check values from within an object
Often you want to check if a value is within an object. Heres a way we can do this with some() every() and Object.values().
Object.values
Object.values is used to create an array from the values in an Object. You pass an object into Object.values and...
davidbell.hashnode.dev2 min read
Lize du Plessis
Learning how to code
Brilliant!