Skip to content

Instantly share code, notes, and snippets.

@h1st3r1cal
Created June 13, 2016 15:22
Show Gist options
  • Save h1st3r1cal/acc3d5d19b6a77e65b474465a6da5b23 to your computer and use it in GitHub Desktop.
Save h1st3r1cal/acc3d5d19b6a77e65b474465a6da5b23 to your computer and use it in GitHub Desktop.
Arrays Practice
var fruits = ["bananas", "apples", "oranges","kiwis"];
console.log("kiwis".length+1);
console.log("bananas".length-1);
console.log(fruits.length-2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment