I am using the github API to get my gists.
The actual json returned from github contains a property called ‘GetGists.js’, how do I get the value of that property?
gistObject.files.GetGists.js returns an error
This is my example page, when you click on the link it will log the object in the console.
gistObject.files["GetGists.js"]should be used. All JavaScript properties can also be accessed through square braces.Another example:
window.location.href === window["location"].href == window["location"]["href"];