The type read-only property of the Blob interface returns the MIME type of the file.
type
MDN Reference