The filter() method calls a provided callback function once for each element in an array, and will construct a new array with all the values that return truthy. Array elements that do not pass the callback function test are not included in the new array.
The find() method returns the value of the first element that passes a test; find() executes a function for each array method; find() returns undefined if no elements are found; find() does not execute the function for empty elements.
JavaScript functions are one of the most fundemntal concepts to understand; what they are, how to use them and the different types is what I will be explaining.
When it comes to JavaScript there are a few ways to create objects. The two main ways are constructor functions and object literals, what are these, and how do we choose what to use?
Hoisting (to many developers) is an unknown or overlooked behavior of JavaScript, but it's one of the most important.