diff options
author | Anh Hong <hong4rc@gmail.com> | 2020-12-11 02:45:45 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 06:45:45 +1100 |
commit | b8bc24d167f2e19482d9dc6d367876c361abf4ea (patch) | |
tree | 5e46858514914eed698d1c941fe8593547e93ed4 /op_crates | |
parent | fd9b0202c1bb0e83183fd0a53d8b1303612a5e31 (diff) |
chore: fixed various misspellings and other typos (#8691)
Diffstat (limited to 'op_crates')
-rw-r--r-- | op_crates/fetch/11_streams.js | 2 | ||||
-rw-r--r-- | op_crates/fetch/20_headers.js | 8 | ||||
-rw-r--r-- | op_crates/web/03_global_interfaces.js | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/op_crates/fetch/11_streams.js b/op_crates/fetch/11_streams.js index c3fa6cb6f..69787d24a 100644 --- a/op_crates/fetch/11_streams.js +++ b/op_crates/fetch/11_streams.js @@ -2482,7 +2482,7 @@ try { transformStreamDefaultControllerEnqueue( controller, - // it defaults to no tranformation, so I is assumed to be O + // it defaults to no transformation, so I is assumed to be O chunk, ); } catch (e) { diff --git a/op_crates/fetch/20_headers.js b/op_crates/fetch/20_headers.js index c2ae72864..4202bea41 100644 --- a/op_crates/fetch/20_headers.js +++ b/op_crates/fetch/20_headers.js @@ -237,10 +237,10 @@ set(name, value) { requiredArguments("Headers.set", arguments.length, 2); - const [newname, newvalue] = normalizeParams(name, value); - validateName(newname); - validateValue(newvalue); - dataSet(this[headersData], newname, newvalue); + const [newName, newValue] = normalizeParams(name, value); + validateName(newName); + validateValue(newValue); + dataSet(this[headersData], newName, newValue); } get [Symbol.toStringTag]() { diff --git a/op_crates/web/03_global_interfaces.js b/op_crates/web/03_global_interfaces.js index 7ade64cc1..21a44eb8e 100644 --- a/op_crates/web/03_global_interfaces.js +++ b/op_crates/web/03_global_interfaces.js @@ -1,7 +1,7 @@ ((window) => { const { EventTarget } = window; - const illegalConstructorKey = Symbol("illegalConstuctorKey"); + const illegalConstructorKey = Symbol("illegalConstructorKey"); class Window extends EventTarget { constructor(key = null) { |