We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c50a8 commit 472c16cCopy full SHA for 472c16c
1 file changed
lib/internal/encoding/single-byte.js
@@ -41,7 +41,7 @@ const h = (x) => it(ArrayPrototypeFill(new Array(x), r));
41
/* eslint-disable @stylistic/js/max-len */
42
43
// Index tables from https://encoding.spec.whatwg.org/#legacy-single-byte-encodings
44
-// Each table in the spec lists only mapping from byte 0x80 onwards, as below that they are all ASCII and mapped as idenity
+// Each table in the spec lists only mapping from byte 0x80 onwards, as below that they are all ASCII and mapped as identity
45
// Here, 0xfffd (replacement charcode) designates a hole (unmapped offset), as not all encodings map all offsets
46
// All other numbers are deltas from the last seen mapped value, starting with 0x7f (127, highest ASCII)
47
// Thus, [0x80, 0x81, , 0x83] is stored as [1, 1, r, 2]
0 commit comments