Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 687 Bytes

File metadata and controls

7 lines (6 loc) · 687 Bytes

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

For help with markdown syntax Go here

  1. The difference between forEach and map is that forEach runs a function once for each item in the array. While map calls a cb function once for each element and constructs a new array with the results.
  2. Strings, Booleans, Number, Objects, Arrays. Arrays have a several built in methods.
  3. An inner function that has access to the outer functions variables.
  4. Global- window/context outside of any function, new - creates an instance of the user-defined object , Implicit, Explicit