From 204f1747cf10e012a1c2f3ca079b2579ebd05ed4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 23 Oct 2014 21:46:46 -0700 Subject: [PATCH] Ensure old Opera avoids a false positive for support of `isHostObject`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 301b8c510..f683e3418 100644 --- a/lodash.js +++ b/lodash.js @@ -729,7 +729,7 @@ */ var isHostObject = (function() { try { - ({ 'toString': 0 } + ''); + String({ 'toString': 0 } + ''); } catch(e) { return function() { return false; }; }