Demystifying Javascript Array Methods with Practical Examples
Too Long; Didn't Read
An array method will take a callback function. internally, this method will create a new array. Then it will 'run a for loop' & iterate over each element of this array. For each iteration, the current element will be passed as an argument to the callback function, which will then do something with that value. This was just a general & informal way to understand the process. The callback function will also get the *index of current element as its second argument.