Question d’entretien chez Infrrd

Copy an array into another array

Réponse à la question d'entretien

Utilisateur anonyme

15 mai 2018

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

1