Using this great answer, I am trying to print all the methods of the File
object:
alert(Object.getOwnPropertyNames(File).filter(function (p) {
return typeof File[p] === 'function';
}));
But I get nothing, and the same goes for the FileReader
object.
Are these objects not part of the JavaScript standard, or are they simply method-less?
I am testing on Chrome.