Skip to content

Commit c26f5dd

Browse files
Merge pull request #150 from cbrtrk/patch-1
Corrected README.md literal template example
2 parents d355c7e + 896905a commit c26f5dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Please note this is an *optional* feature, not a mandatory one: you don't need t
369369
Technically speaking, in the template literal tags world all values part of the template are called *interpolations*.
370370

371371
```js
372-
const tag = (template, interpolations) => {
372+
const tag = (template, ...interpolations) => {
373373
console.log(template.join());
374374
// logs "this is , and this is ,"
375375
console.log(interpolations);

0 commit comments

Comments
 (0)