Use strict equality check since its type isn't guaranteed.

This commit is contained in:
jdalton
2015-05-13 23:39:06 -07:00
parent 8e9ad4df97
commit fcc09a7375

View File

@@ -542,7 +542,7 @@
// Add other realm values from the `vm` module. // Add other realm values from the `vm` module.
_.attempt(function() { _.attempt(function() {
if (process.jsEngine == 'chakra') { if (process.jsEngine === 'chakra') {
return; return;
} }
_.extend(_, require('vm').runInNewContext([ _.extend(_, require('vm').runInNewContext([