Timeline for Checking whether a bullet has hit a Space Invader
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:40 | history | edited | Community Bot |
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
|
|
Mar 6, 2017 at 22:18 | comment | added | Marc Rohloff | JavaScript really doesn't have global variables. If you are using a variable like a global variable then you would normally still start with a lower-case letter - though of course you can choose any standard which helps you be most efficient. Class names (not instances) are usually capitalized. | |
Mar 6, 2017 at 19:57 | comment | added | Guy W | Thanks a lot @marc-rohloff, just wanted to ask - you said to start variables with lower case but how do you treat global variables and object types? that was my reason for capitalizing. | |
Mar 6, 2017 at 17:31 | history | answered | Marc Rohloff | CC BY-SA 3.0 |