MCQ
Which method is used to create a copy of an array?
JavaScript
A slice()
B concat()
C Array.from()
D All of the above
Explanation

All these methods can create shallow copies of an array.