call() vs apply() vs bind() in JavaScript
call(), apply(), and bind() make it possible for you to change the runtime binding of a function's this keyword from one object to another.
call(), apply(), and bind() make it possible for you to change the runtime binding of a function's this keyword from one object to another.
every() returns true if all its calling array's items pass its function argument's test. Otherwise, it returns false.
filter() creates a new array that contains all the calling array's elements that passed the test specified by the method's argument.
find() finds the calling array's element that first passes the test specified by the method's function argument.
findIndex() finds the index of the calling array's element that first passes the test specified by the method's function argument.
The forEach() method invokes its argument once for each item of an existing array.
map() creates a new array that contains the result of invoking map()'s function argument on each item of the calling array.
some() returns true if some of its calling array's items pass its function argument's test. Otherwise, it returns false.
JavaScript's this keyword refers to the owner object of the keyword's method or the "this" value of an arrow function's lexical context.