What is the purpose of the function parameter filetype?
A
File type to be expected
B
File type previously got
C
File type that should not be got
D
File type available
Correct Answer: File type to be expected
The File.type property is an inbuilt function of File WebAPI which gives the media type (MIME) of the file represented by a file object. The function parameter “filetype” lets you tell the script what file type to expect before loading.