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