Blob.prototype.size

The size of the blob in bytes.

Syntax

size

Example

let blob = new Blob(['Hello, world!'])
blob.size
13