Skip to content

Commit eba9dbd

Browse files
committed
[strings] 80 char => 100 char
1 parent ef7b5cc commit eba9dbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403
const name = 'Capt. Janeway';
404404
```
405405
406-
- [6.2](#6.2) <a name='6.2'></a> Strings longer than 80 characters should be written across multiple lines using string concatenation.
406+
- [6.2](#6.2) <a name='6.2'></a> Strings longer than 100 characters should be written across multiple lines using string concatenation.
407407
- [6.3](#6.3) <a name='6.3'></a> 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).
408408
409409
```javascript

es5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
var fullName = 'Bob ' + this.lastName;
195195
```
196196

197-
- Strings longer than 80 characters should be written across multiple lines using string concatenation.
197+
- Strings longer than 100 characters should be written across multiple lines using string concatenation.
198198
- 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).
199199

200200
```javascript

0 commit comments

Comments
 (0)