#javascript
Read more stories on Hashnode
Articles with this tag
Have you ever visited a website and noticed that the copyright year is still stuck in the past? It could be an oversight, but it can make the website...
Spread syntax (...) ... allows an iterable, such as an array or string, to be expanded in places where zero or more arguments (for function calls) or...
#Array.prototype.sort() The sort() method sorts the elements of an array in place and returns the reference to the same array, now sorted. compareFn...
null The value null represents the intentional absence of any object value. It is one of JavaScript's primitive values and is treated as falsy for...
Okay, I've used forEach(), map(), filter() and my good old reliable friend for loop on arrays, but what the heck is every() and why/when would I need...