Created
March 30, 2011 08:16
-
-
Save ahmadajmi/894053 to your computer and use it in GitHub Desktop.
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 passion = { | |
frontend: "Javascript", | |
backend: "Ruby on Rails" | |
}; | |
passion.frontend; // use dot notation and return "Javascript" | |
passion["backend"]; // use subscript notation and return "Ruby on Rails" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment