Anjanesh Lekshminarayanan


Copying an array variable to another variable

Oct 8, 20211 min read

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...

Running a custom PHP app on Digital Ocean's App Platform