Created
December 2, 2014 20:09
-
-
Save devdays/e0ff2519eb30fe38f5ec to your computer and use it in GitHub Desktop.
Object JavaScript - Using an array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = myFlowers.length; // the number of elements in myFlowers | |
var y = myFlowers.indexOf("Carnation"); // the index position of "Carnation" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment