Infrrd interview question

Copy an array into another array

Interview Answer

Anonymous

15 May 2018

We can achieve this by using Array.prototype.slice() and Object.assign({}, array)

1