Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 759 Bytes

short-response.md

File metadata and controls

14 lines (7 loc) · 759 Bytes

Problem Set 2.5 - Array Fundamentals

Short Response Section

Directions: Write your responses to the questions below directly in this document. When you commit and push your changes, you will be able to see your rendered markdown on GitHub.

1. What does it mean for arrays to be passed by reference in JavaScript? Be sure to include a code snippet to illustrate your response.

2. What does it mean to destructure a JavaScript array? How do we use the spread operator for destructuring. Be sure to include a code snippet to illustrate your response.

3. What is the purpose of rest parameters? How do we use them? Use a code snippet to illustrate your response. Lastly, explain how do they differ from the arguments object?