InterviewSolution
Saved Bookmarks
| 1. |
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 |
|
Answer» Correct option is (a) File type to be expected Explanation: 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. |
|