Homework Quiz Review & Solutions

Intermediate Functions

  1. Which of the following types is mutable?

  2. When is an object considered mutable?

  3. What will the code snippet above print out?
  4. Which of the following best describes the ordered arguments that Array#splice accepts?

  5. Which of the following best describes why objects are considered “first-class” in JavaScript?

  6. Which of the following best describes the code above?

  7. Which of the following methods does not mutate their input?

  8. ** What will the code snippet above print out?**