Copying an array variable to another variable
A common mistake newbies in JavaScript make, is referencing arrays instead of copying it when using the assignment operator. let pokemons = ['pikachu', 'eevee', 'snorlax', 'charmander', 'charizad']; // This will point (create a reference) new_pokemo...
Oct 8, 20211 min read68
