Create a gist now

Instantly share code, notes, and snippets.

Embed
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
@McKristian

This comment has been minimized.

Show comment
Hide comment
@McKristian

McKristian Jul 29, 2015

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

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

@brunoortiz

This comment has been minimized.

Show comment
Hide comment
@brunoortiz

brunoortiz Dec 8, 2015

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

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

@sudoankit

This comment has been minimized.

Show comment
Hide comment
@sudoankit

sudoankit Feb 2, 2016

Yes. There should be a '+' sign.

Yes. There should be a '+' sign.

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