UNPKG

shift-interpreter

Version:

Shift-interpreter is an experimental JavaScript meta-interpreter useful for reverse engineering and analysis. One notable difference from other projects is that shift-interpreter retains state over an entire script but can be fed expressions and statement

9 lines 311 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const util_1 = require("../util"); describe('Errors', () => { it('should throw', () => { util_1.assertResult(util_1.compare("throw new Error('hello world')", { Error })); }); }); //# sourceMappingURL=errors.test.js.map