Skip to content

Commit

Permalink
buffer: remove lines setting indexes to integer value
Browse files Browse the repository at this point in the history
  • Loading branch information
kylo5aby committed Apr 22, 2024
1 parent 07f481c commit d31f4f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d31f4f4

Please sign in to comment.