Skip to content

Instantly share code, notes, and snippets.

Created May 21, 2012 02:31
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
#2 Code example from "JSON: What It Is, How It Works, & How to Use It"
document.write('Jason is ' jason.age); // Output: Jason is 24
document.write('Jason is a ' jason.gender); // Output: Jason is a male
Copy link

thanks for the information. I am reviewing for a class tonight.

Copy link

Shouldn't there be a + sign between 'Jason is ' and jason.age ?

Copy link

Yes. There should be a '+' sign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment