File

Interfacein globals@fastly/js-compute 4.0.0View source

Extends Blob.

Provides information about files and allows JavaScript in a web page to access their content.

MDN Reference

Constructor

new File(fileBits: Array<BlobPart>, fileName: string, options?: FilePropertyBag)

Parameters

fileBits: Array<BlobPart>
fileName: string
options: FilePropertyBagoptional

Properties

lastModified

numberread-onlyView source

name

stringread-onlyView source

webkitRelativePath

stringread-onlyView source