It looks to me at some point someone ran all the codes through a formatter (which added ";" to all the lines, removed extra spaces that are used to align comments, replaced all single quotes to double quotes, etc.). It went wrong (i.e. broke the code) at a few places, and argurably make the example harder to understand at some other places.
This commit does the following:
Fix totally broken ones
Revert some examples to its original form because they are meant to look obfuscated or other intended formatting to present the code in an easier to understand way
I didn't touch anything else (like the spaces to align comments or ";") but I'm honestly not sure if it's better than the original.
It looks to me at some point someone ran all the codes through a formatter (which added ";" to all the lines, removed extra spaces that are used to align comments, replaced all single quotes to double quotes, etc.). It went wrong (i.e. broke the code) at a few places, and argurably make the example harder to understand at some other places.
This commit does the following:
I didn't touch anything else (like the spaces to align comments or ";") but I'm honestly not sure if it's better than the original.