diff options
Diffstat (limited to 'op_crates/web/08_text_encoding.js')
-rw-r--r-- | op_crates/web/08_text_encoding.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/op_crates/web/08_text_encoding.js b/op_crates/web/08_text_encoding.js index 5a84ea8a4..d93319758 100644 --- a/op_crates/web/08_text_encoding.js +++ b/op_crates/web/08_text_encoding.js @@ -973,8 +973,8 @@ if (options.fatal) { this.fatal = true; } - label = String(label).trim().toLowerCase(); - const encoding = encodings.get(label); + const _label = String(label).trim().toLowerCase(); + const encoding = encodings.get(_label); if (!encoding) { throw new RangeError( `The encoding label provided ('${label}') is invalid.`, |