Frage im Vorstellungsgespräch bei Infrrd

Copy an array into another array

Antwort im Vorstellungsgespräch

Anonym

15. Mai 2018

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

1