diff --git a/lib/internal/encoding/single-byte.js b/lib/internal/encoding/single-byte.js index df8042e89ad969..abce7171fc6631 100644 --- a/lib/internal/encoding/single-byte.js +++ b/lib/internal/encoding/single-byte.js @@ -41,7 +41,7 @@ const h = (x) => it(ArrayPrototypeFill(new Array(x), r)); /* eslint-disable @stylistic/js/max-len */ // Index tables from https://encoding.spec.whatwg.org/#legacy-single-byte-encodings -// 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 // Here, 0xfffd (replacement charcode) designates a hole (unmapped offset), as not all encodings map all offsets // All other numbers are deltas from the last seen mapped value, starting with 0x7f (127, highest ASCII) // Thus, [0x80, 0x81, , 0x83] is stored as [1, 1, r, 2]