Skip to content

Commit 49984d7

Browse files
author
tcme
committed
adds space to string example
1 parent fa98b40 commit 49984d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@
173173
var name = 'Bob Parr';
174174
175175
// bad
176-
var fullName = "Bob" + this.lastName;
176+
var fullName = "Bob " + this.lastName;
177177
178178
// good
179-
var fullName = 'Bob' + this.lastName;
179+
var fullName = 'Bob ' + this.lastName;
180180
```
181181

182182
- Strings longer than 80 characters should be written across multiple lines using string concatenation.

0 commit comments

Comments
 (0)