Created
May 21, 2012 02:31
-
-
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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write('Jason is ' jason.age); // Output: Jason is 24 | |
document.write('Jason is a ' jason.gender); // Output: Jason is a male |
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
thanks for the information. I am reviewing for a class tonight.