Remove V8 JIT bug fix for _.isObject.

This commit is contained in:
Florent Cailhol
2016-01-29 09:28:36 +01:00
committed by John-David Dalton
parent e7c3afc1e5
commit 5ca26e6ae0

View File

@@ -9792,8 +9792,6 @@
* // => false
*/
function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
return !!value && (type == 'object' || type == 'function');
}