[guide] Fix no-interpolation template string example

The example showed a template string being used with no interpolation as "good". While it met the rule being described, it violated another rule for no reason.
This commit is contained in:
Giuseppe Burtini
2016-08-29 08:16:34 -07:00
committed by Jordan Harband
parent 1ab6aaede9
commit 54aa8f1b35

View File

@@ -565,7 +565,7 @@ Other Style Guides
// good
const foo = '\'this\' is "quoted"';
const foo = `'this' is "quoted"`;
const foo = `my name is '${name}'`;
```
**[⬆ back to top](#table-of-contents)**