Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marlomajor/55dca99b60a197c13e85 to your computer and use it in GitHub Desktop.
Save marlomajor/55dca99b60a197c13e85 to your computer and use it in GitHub Desktop.

Array Prototype Methods

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

True

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

True

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.

Not yet...getting there.

I can explain the difference between forEach and map.

Not yet...getting there

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

No

How comfortable are you using the forEach() method?

Fairly comfortable

How comfortable are you using the map() method?

Not so comfortable when using functions in general

How comfortable are you using the filter() method?

Not so much...just need more practice though.

How comfortable are you using the reduce() method?

Not so much...just need more practice though.

How comfortable are you using the sort() method?

Not so much...just need more practice though.

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

Average comfortability

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