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...
Markdown supported · ⌘↵ to post
Lize du Plessis
Learning how to code
Brilliant!