Skip to content

Instantly share code, notes, and snippets.

@valerymelou
Created May 20, 2018 02:12
Show Gist options
  • Save valerymelou/9ffe1d3661df0719af688764320cd0ab to your computer and use it in GitHub Desktop.
Save valerymelou/9ffe1d3661df0719af688764320cd0ab to your computer and use it in GitHub Desktop.
var coordinates = [10, 30, 5];
var x = coordinates[0];
var y = coordinates[1];
var z = coordinates[2];
console.log(x, y, z); // 10 30 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment