JavaScripture
Contribute via GitHub Feedback

JavaScript File : Blob

File is a Blob that represents a file from the filesystem. You can get Files from the HTMLInputElement.files property. Use FileReader to read the contents of a File.

Instance Properties

lastModifiedDate : Date  

The last time the file was modified.

Example:

Run

Results:

 

name : String  

The name of the file.

Example:

Run

Results: