summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2022-09-09 14:53:53 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-09-14 04:46:49 +0000
commitd0a1775369fc8ff6d9b6197a38b93c7567823f96 (patch)
tree9ee97eab538c2fd94d721a0e36a3656535232dcf /Userland/Libraries/LibJS
parent63c727a4a3414812aa1df50e700bda713f4039a4 (diff)
downloadserenity-d0a1775369fc8ff6d9b6197a38b93c7567823f96.zip
Everywhere: Fix a variety of typos
Spelling fixes found by `codespell`.
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js2
-rw-r--r--Userland/Libraries/LibJS/Tests/tagged-template-literals.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
index ba6620a118..b780cf04ff 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
@@ -23,7 +23,7 @@ describe("normal behavior", () => {
expect(new Intl.Locale("ar", { hourCycle: "h24" }).hourCycles).toEqual(["h24"]);
// Invalid hourCycles also take precedence when specified in the locale string. Unlike other
- // properties, Locale("en", { hourCycle: "ladybird" }) will explictly throw.
+ // properties, Locale("en", { hourCycle: "ladybird" }) will explicitly throw.
expect(new Intl.Locale("en-u-hc-ladybird").hourCycles).toEqual(["ladybird"]);
});
});
diff --git a/Userland/Libraries/LibJS/Tests/tagged-template-literals.js b/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
index de8598122b..620566a1a3 100644
--- a/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
+++ b/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
@@ -106,7 +106,7 @@ describe("tagged template literal functionality", () => {
expect(raw[1]).toBe("\\nbar");
});
- test("invalid escapes give undefined cooked values but can be accesed in raw form", () => {
+ test("invalid escapes give undefined cooked values but can be accessed in raw form", () => {
let calls = 0;
let lastValue = null;
function noCookedButRaw(values) {