const f = new File(['data'], 'file.json', { type: 'application/json' })
f.type // β 'application/json'Set the type option to specify the MIME type of the file.
Since File extends Blob, it has a size property reflecting the byte count of its content.
Challenge: Verify that new File(['hello'], 'test.txt').size === 5.