dailyjs-survey
dailyjs-survey copied to clipboard
Flaws in code style examples
The linked markdown file showing examples of the various code styles seems to be a bit mixed up. For example, the "semicolons" and "no semicolons" examples both lack semicolons.
Additionally, one of the code styles is while (1){
where I would assume the two prevailing styles are while(1) {
and while (1) {
. I could be wrong about this one, but I figure since there are other mistakes in the style examples, perhaps this is a mistake as well?
I made PR in which I added semicolons: https://github.com/alexyoung/dailyjs-survey/pull/28
Thanks