Skip to content

Instantly share code, notes, and snippets.

@jlengstorf
Created May 21, 2012 02:31
Show Gist options
  • Save jlengstorf/2760312 to your computer and use it in GitHub Desktop.
Save jlengstorf/2760312 to your computer and use it in GitHub Desktop.
#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
@brunoortiz
Copy link

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

@sudoankit
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