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 findIndex() method executes a callback function on each element in an array; in ascending order. It will return the position of the first element in the array that matches the condition of the callback function, otherwise return -1.
The map() method of Array creates a new array of the results of calling the given callback function on every element in the original array.
The slice() method returns a shallow copy of a portion of an array into a new array. slice() takes in two arguments; the start and the end (the indexes of the items in that array that you want as your shallow copy)
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?
typeof is a Javascript Keyword that will return a string to indicate the operand's value
var let and const are keywords to declare variables in JavaScript, but what exactly do they mean and what is the difference between them?
Hoisting (to many developers) is an unknown or overlooked behavior of JavaScript, but it's one of the most important.