I understand that functions in JavaScript can take any number of arguments. Yep.
I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript. Yep. Anonymous functions are similar to Ruby Blocks.
Where are the methods available to all arrays (e.g. forEach
, map
, etc.) defined?
Array.prototype.methods