Skip to content

Instantly share code, notes, and snippets.

@JasonDeving
Created March 18, 2016 18:52
Show Gist options
  • Save JasonDeving/5a2fa57dd8fd77285069 to your computer and use it in GitHub Desktop.
Save JasonDeving/5a2fa57dd8fd77285069 to your computer and use it in GitHub Desktop.
Calling Objects From API
var box = {};
box['innerBox'] = {};
box['innerBox']['full'] = true;
box['innerBox']['height'] = 10;
//do it here
box.otherBox = {};
var innerBox2 = "otherBox"
box[innerBox2].full = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment