We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50faa54 commit 022d8c4Copy full SHA for 022d8c4
README.md
@@ -2344,7 +2344,7 @@ Tagged templates in JavaScript allow you to parse template literals with a funct
2344
2345
```js
2346
function tag(strings, ...values) {
2347
- return strings[0] + values[0] + strings[1] + values[1];
+ return strings[0] + values[0] + strings[1] + values[1] + strings[2];
2348
}
2349
2350
const result = tag`Hello ${'world'}! How are ${'you'}?`;
0 commit comments