Skip to content

Commit bccfa81

Browse files
committed
Fix markdown typos
1 parent 0a3f2ef commit bccfa81

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
@@ -353,7 +353,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
353353
5. ### Template literals
354354
Prior to ES6, JavaScript developers would need to do ugly string concatenation to creat dynamic strings.
355355

356-
Template literals allows you to work with strings in a new way compared to ES5. These are just string literals allowing embedded expressions denoted by the dollar sign and curly braces (${expression}). Also, these literals are enclosed by the backtick (` `) character instead of double or single quotes.
356+
Template literals allows you to work with strings in a new way compared to ES5. These are just string literals allowing embedded expressions denoted by the dollar sign and curly braces (`${expression}`). Also, these literals are enclosed by the backtick (`` ` ``) character instead of double or single quotes.
357357
358358
ES6 has two new kinds of literals:
359359
@@ -745,7 +745,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag
745745
console.log(text.charCodeAt(1)); // 57271(2nd code unit)
746746

747747
console.log(/^.$/.test(str)); // false, because length is 2
748-
console.log('\u20BB7); // 7!(wrong value)
748+
console.log('\u20BB7'); // 7!(wrong value)
749749
console.log(str === '\uD842\uDFB7'); // true
750750
```
751751

0 commit comments

Comments
 (0)