JS Built-ins
Blobbeginner

Blob.slice β€” slice(0,0) empty result

πŸ“– Usage Example
const b = new Blob(['Hello'])
b.slice(0).size === b.size  // β†’ true

slice(0) creates a full copy of the Blob.

Blob.slice() Empty Slice

blob.slice(0, 0) returns a Blob with size === 0 β€” an empty byte range.

Challenge: Verify that new Blob(['hello']).slice(0, 0).size === 0.

πŸ’‘ Hints (1)
  • β€’ When start === end, there are zero bytes in the range.