Infrrd Interview Question

Copy an array into another array

Interview Answer

Anonymous

May 15, 2018

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

1