Changes between Version 18 and Version 19 of WebInspectorCodingStyleGuide
- Timestamp:
- Nov 21, 2015, 11:57:13 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInspectorCodingStyleGuide
v18 v19 15 15 * Put anonymous functions inline if they are not used as a subroutine. 16 16 * Use arrow functions when possible, unless it makes code less readable. See below for examples. 17 * For default parameters, add a space around the default assignment: `function foo(isGood = false)` 17 18 18 19 == Naming things