mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[strings] 80 char => 100 char
This commit is contained in:
@@ -194,7 +194,7 @@
|
||||
var fullName = 'Bob ' + this.lastName;
|
||||
```
|
||||
|
||||
- Strings longer than 80 characters should be written across multiple lines using string concatenation.
|
||||
- Strings longer than 100 characters should be written across multiple lines using string concatenation.
|
||||
- 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).
|
||||
|
||||
```javascript
|
||||
|
||||
Reference in New Issue
Block a user