Skip to content

Commit

Permalink
docs: fix simple typo, concatentation -> concatenation (#1311)
Browse files Browse the repository at this point in the history
There is a small typo in test/compress/concat-strings.js, test/compress/template-string.js.

Should read `concatenation` rather than `concatentation`.

Signed-off-by: Tim Gates <tim.gates@iress.com>

Signed-off-by: Tim Gates <tim.gates@iress.com>
  • Loading branch information
timgates42 committed Nov 26, 2022
1 parent 212670a commit b91e0ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/compress/concat-strings.js
Expand Up @@ -12,7 +12,7 @@ concat_1: {

var e = 1 + x() + 2 + "X" + 3 + "boo";

// be careful with concatentation with "\0" with octal-looking strings.
// be careful with concatenation with "\0" with octal-looking strings.
var f = "\0" + 360 + "\0" + 8 + "\0";
}
expect: {
Expand Down
2 changes: 1 addition & 1 deletion test/compress/template-string.js
Expand Up @@ -119,7 +119,7 @@ template_string_with_predefined_constants: {
var barber = 'This is ${0/0}';

var a = "4194304";
var b = "16777216"; // Potential for further concatentation
var b = "16777216"; // Potential for further concatenation
var c = `${4**14}`; // Not worth converting
}
}
Expand Down

0 comments on commit b91e0ce

Please sign in to comment.