Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,13 @@


// good
var errorMessage = 'This is a super long error that ' +
'was thrown because of Batman. ' +
'When you stop to think about ' +
'how Batman had anything to do ' +
'with this, you would get nowhere ' +
'fast.';
var errorMessage =
'This is a super long error that '
+ 'was thrown because of Batman. '
+ 'When you stop to think about '
+ 'how Batman had anything to do '
+ 'with this, you would get nowhere '
+ 'fast.';
```

- When programatically building up a string, use Array#join instead of string concatenation. Mostly for IE: [jsPerf](http://jsperf.com/string-vs-array-concat/2).
Expand Down