Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 709 Bytes

Answers.md

File metadata and controls

22 lines (14 loc) · 709 Bytes

Your responses to the short answer questions should be laid out here using Mark Down.

For help with markdown syntax Go here

  1. .forEach executes a function over every item within an array.

.map executes a function over every item within an array and creates a new array with the results.

  1. Five different data types in JavaScript:
  • strings
  • booleans
  • numbers
  • null
  • undefined

Any data type can be stored within an array.

  1. I had a decent understanding of closures a few days ago but it's a concept I need to return to and study more.

  2. Rules of .this:

  • .this is used to call properties within an object.