Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbburch/7aca761c5a25ff5668b4 to your computer and use it in GitHub Desktop.
Save mbburch/7aca761c5a25ff5668b4 to your computer and use it in GitHub Desktop.

Array Prototype Methods

I understand that functions in JavaScript can take any number of arguments. 3

I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript. 2

Where are the methods available to all arrays (e.g. forEach, map, etc.) defined? Array.prototype

I can explain the difference between using a for loop and the forEach method. 2

I can explain the difference between forEach and map. 3

Can you explain the process of taking a plain JavaScript objects, transforming them into DOM nodes, and appending them to the page. Yes (I think)

How comfortable are you using the forEach() method? 3

How comfortable are you using the map() method? 3

How comfortable are you using the filter() method? 3

How comfortable are you using the reduce() method? 2

How comfortable are you using the sort() method? 1

How comfortable are you working with simple unit tests in Mocha in the browser? 1 - used them, but doubt I could set them up or create them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment