Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save slota/49867629ca409160cd04 to your computer and use it in GitHub Desktop.
Save slota/49867629ca409160cd04 to your computer and use it in GitHub Desktop.
Checks for Understanding

Array Prototype Methods

I understand that functions in JavaScript can take any number of arguments. Check I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript. Anonymous functions I guess are the functions that act like Ruby blocks?

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

I can explain the difference between using a for loop and the forEach method. forEach is slower than for I believe

I can explain the difference between forEach and map. map will make a permanent change to the array

Can you explain the process of taking a plain JavaScript objects, transforming them into DOM nodes, and appending them to the page. you make it in html and then .append() to where you want it to go

How comfortable are you using the forEach() method? 75%

How comfortable are you using the map() method? 75%

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

How comfortable are you using the reduce() method? 75%

How comfortable are you using the sort() method? Not as much, actually wish I could have practiced it on the project

How comfortable are you working with simple unit tests in Mocha in the browser? Not simple whatsoever, would like some help on this

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