Ensure old Opera avoids a false positive for support of isHostObject.

This commit is contained in:
John-David Dalton
2014-10-23 21:46:46 -07:00
parent 13c9d80a3b
commit 204f1747cf

View File

@@ -729,7 +729,7 @@
*/
var isHostObject = (function() {
try {
({ 'toString': 0 } + '');
String({ 'toString': 0 } + '');
} catch(e) {
return function() { return false; };
}