This code return true in Firefox:
('overrideMimeType') in (new XMLHttpRequest())
but jslint gives me this message :
Problem at line 1 character 22: Unexpected ‘in’. Compare with undefined, or use the hasOwnProperty method instead.
How to write the statement correctly according to jslint ?
I tryed that but it return false :
(new XMLHttpRequest()).hasOwnProperty('overrideMimeType')
Use: