Actually, if you consider the return example in the blog, you do need to learn some caveats and rules. That's the point.
It's a fun example, but it would never happen in real life.
function getCount()
{
return
{
'count': 1
};
}
Not what I'd do, but a common style nonetheless. function getCount () {
return undefined
{ // open code block
'count': /*labelled line*/ 1 //numeric expression
} // close code block
} // close function
LINE BREAKS CONSIDERED HARMFUL.I agree, it's a common style, but a horrible one IMHO.