type

Sets or retrieves the MIME type of the object.

MDN Reference