Instantly share code, notes, and snippets.
Hey Jason, just wondering, does the last close curly brace on line 12 need a semicolon after it? Thank you for the tutorial by the way, it's been very helpful and intuitive
Same doubt...there should be a semicolon, isn't it..?
a semicolon is needed after curly brace on line 12.
Thanks for this helpful explanation
If you paste the code on http://jsonlint.com/ (without the var family =), he will give back an error with the semicolon at the line 12. Are we sure it is correct?
A semicolon after the curly brace on line 12 is optional: https://jsfiddle.net/0y36hbhg/
Just like a console.debug() that's not ending with a semicolon but putting a semicolon after an executable line or block is highly recommended, it's proper coding practice.
How can I display all the data of objects inside this object in for-in loop to show in one page , like this example