Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@flexaddicted
Last active January 26, 2019 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flexaddicted/2c4f005bfb0edae7a9fedefe95278917 to your computer and use it in GitHub Desktop.
Save flexaddicted/2c4f005bfb0edae7a9fedefe95278917 to your computer and use it in GitHub Desktop.
const numbers = [1, 2, 3, 4];
const elements = [];
for(let i = 0; i < numbers.length; i++) {
elements.push(numbers[i].toString(10));
}
console.log(elements);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment