Skip to content

Commit ca0f5ff

Browse files
committed
Removed reference to interpolation.
Javascript doesn't have string interpolation.
1 parent cab5103 commit ca0f5ff

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135

136136
## <a name='strings'>Strings</a>
137137

138-
- Use single quotes `''` for plain strings
138+
- Use single quotes `''` for strings
139139

140140
```javascript
141141
// bad
@@ -145,22 +145,6 @@
145145
var name = 'Bob Parr';
146146
```
147147

148-
- Use double quotes `""` for strings that contain interpolated values
149-
150-
```javascript
151-
// bad
152-
var fullName = "Bob" + this.lastName;
153-
154-
// good
155-
var fullName = 'Bob' + this.lastName;
156-
157-
// bad
158-
var fullName = 'Bob #{lastName}';
159-
160-
// good
161-
var fullName = "Bob #{lastName}";
162-
```
163-
164148
- String longer than 80 characters should be written across Multiple lines using string concatenation.
165149

166150
```javascript

0 commit comments

Comments
 (0)