From d31f4f4edb6981de03ebbb44a4512b090e4855b0 Mon Sep 17 00:00:00 2001 From: zhenweijin Date: Fri, 19 Apr 2024 16:32:23 +0800 Subject: [PATCH] buffer: remove lines setting indexes to integer value --- lib/internal/blob.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/internal/blob.js b/lib/internal/blob.js index 3ebb1b8a84b50a..cc4d9c092b2e8f 100644 --- a/lib/internal/blob.js +++ b/lib/internal/blob.js @@ -243,14 +243,12 @@ class Blob { } else { start = MathMin(start, this[kLength]); } - start |= 0; if (end < 0) { end = MathMax(this[kLength] + end, 0); } else { end = MathMin(end, this[kLength]); } - end |= 0; contentType = `${contentType}`; if (RegExpPrototypeExec(disallowedTypeCharacters, contentType) !== null) {