diff --git a/tools/console/console.js b/tools/console/console.js index b9053043d7..9cad2b5cc1 100644 --- a/tools/console/console.js +++ b/tools/console/console.js @@ -96,7 +96,7 @@ const FALLBACK_STATUS = ''; // WITH RAYS. We intentionally want to NOT use a space-like character: it should // be obvious that something has gone wrong if this ever gets printed. const SPACE_REPLACEMENT = '\u2600'; -// In Javascript, replace only replaces the first occurance and this is the +// In Javascript, replace only replaces the first occurrence and this is the // proposed alternative. const replaceAll = (str, search, replace) => str.split(search).join(replace);