From b91e0ce189545fe6ac0cc7efb1637f56298a746d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 27 Nov 2022 03:52:53 +1100 Subject: [PATCH] docs: fix simple typo, concatentation -> concatenation (#1311) 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 Signed-off-by: Tim Gates --- test/compress/concat-strings.js | 2 +- test/compress/template-string.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compress/concat-strings.js b/test/compress/concat-strings.js index a9957d3d6..0decac2ab 100644 --- a/test/compress/concat-strings.js +++ b/test/compress/concat-strings.js @@ -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: { diff --git a/test/compress/template-string.js b/test/compress/template-string.js index 61306b5a2..eb6f500c3 100644 --- a/test/compress/template-string.js +++ b/test/compress/template-string.js @@ -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 } }