65
64
return o instanceof TypeError;
68
[undefined, null, 0, 0.0, '', {}, []].forEach(function(e) {
67
([undefined, null, 0, 0.0, '', {}, []].forEach(function(e) {
69
68
assert.throws(function() { script.runInContext(e); }, isTypeError);
70
69
assert.throws(function() { vm.runInContext('', e); }, isTypeError);