mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
docs(string): fix typo
This commit is contained in:
parent
f8171643cd
commit
a326217687
@ -505,11 +505,10 @@ function passthru(literals) {
|
||||
let i = 0;
|
||||
|
||||
while (i < literals.length) {
|
||||
result += literals[i];
|
||||
result += literals[i++];
|
||||
if (i < arguments.length) {
|
||||
result += arguments[i];
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user