Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 671 Bytes

Answers.md

File metadata and controls

15 lines (10 loc) · 671 Bytes
  1. Describe the biggest difference between .forEach & .map. -ForEach() will allow a callback function to mutate the current array and map() will instead return a new array.

  2. To simply put a function is defined outside of an object and a method is defined as the property of an object.

  3. To simply put, Closures are functions and the functions that defined inside the closure remembers the environment in which it was created.

  4. Default binding or Windows binding

  5. Implicit binding

  6. Explicit Binding

  7. New Binding

  8. super() allows us to gain access to this items located the base class. Basically it allows us to call on parent's constructor