Array.from() Convert an iterable into an array. Can also be done with the spread operator […iterable]. Array.isArray() Check if a value is an array. .includes() Check if the array contains a given value. [1, 2, 7, -1, 4].includes(-1) // true ...

Markdown supported · ⌘↵ to post
No responses yet.