Skip to content

Instantly share code, notes, and snippets.

@stevekinney
Created December 1, 2015 15:32
Show Gist options
  • Save stevekinney/98fb8a6e62bfbd959fb2 to your computer and use it in GitHub Desktop.
Save stevekinney/98fb8a6e62bfbd959fb2 to your computer and use it in GitHub Desktop.

Array Prototype Methods

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

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

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

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

I can explain the difference between forEach and map.

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

How comfortable are you using the forEach() method?

How comfortable are you using the map() method?

How comfortable are you using the filter() method?

How comfortable are you using the reduce() method?

How comfortable are you using the sort() method?

How comfortable are you working with simple unit tests in Mocha in the browser?

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