File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 180
180
` ` `
181
181
182
182
- Strings longer than 80 characters should be written across multiple lines using string concatenation .
183
+ - Note : If overused , long strings with concatenation could impact performance . [jsPerf ](http: // jsperf.com/ya-string-concat) & [Discussion](https://github.com/airbnb/javascript/issues/40)
183
184
184
185
` ` ` javascript
185
186
// bad
1289
1290
- [Bang Function ](http: // jsperf.com/bang-function)
1290
1291
- [jQuery Find vs Context, Selector](http: // jsperf.com/jquery-find-vs-context-sel/13)
1291
1292
- [innerHTML vs textContent for script text](http: // jsperf.com/innerhtml-vs-textcontent-for-script-text)
1293
+ - [Long String Concatenation](http: // jsperf.com/ya-string-concat)
1292
1294
- Loading...
1293
1295
1294
1296
** [[⬆]](#TOC )**
You can’t perform that action at this time.
0 commit comments