Last active
August 29, 2015 14:20
-
-
Save Ercenk/da2f082b1fa625ac1d78 to your computer and use it in GitHub Desktop.
Full Scale 180 blog post on Azure ARM templates at blog.fullscale180.com
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 myObject = { | |
propertyOne: 1, | |
propertyTwo: 2 | |
}; | |
// And access propertyOne with the either with | |
myObject.propertyOne; | |
// or | |
myObject['propertyOne']; | |
// Given this situation, there is nothing that will prevent us to do this: | |
var selector = 'One'; | |
var propertyValue = myObject['property' + selector]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment