Skip to content

Commit ddbe4e5

Browse files
authored
Fix single quotes example by remplacing " with '
1 parent 7af94bd commit ddbe4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/create.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You can define strings in JavaScript by enclosing the text in single quotes or d
44

55
```js
66
// Single quotes can be used
7-
var str = "Our lovely string";
7+
var str = 'Our lovely string';
88

99
// Double quotes as well
1010
var otherStr = "Another nice string";

0 commit comments

Comments
 (0)