The File Object

Learn about the File object and how to utilize it Browsers provide us with a File object. The File object is a Blob object and has 3 properties: name (a String) lastModified (the UNIX timestamp of the last modified date time) These properties are in addition to the Blob object properties: size (the size in bytes) type (the MIME type) You will receive a File object when interacting with the FileList object, which can be obtained from an HTML form using an <input type="file" /> element or when working with Drag and Drop....