Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 0c1b26d

Browse files
committed
Merge pull request #9 from mobify/fn-casing-example
Fix confusing comment re: function casing.
2 parents ac5c7cb + 9afba7c commit 0c1b26d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var computer = {};
191191
Use camel-case for function names
192192

193193
````javascript
194-
// bad: this is our variable name convention
194+
// bad: underscores shouldn’t be used in identifiers
195195
function recalculate_item_height() { ... }
196196

197197
// bad: this is our constructor name convention

0 commit comments

Comments
 (0)