Create a gist now

Instantly share code, notes, and snippets.

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

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

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

Yes. There should be a '+' sign.

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