lepu-test-platform-web/node_modules/es5-ext/test/error/#/throw.js

8 lines
121 B
JavaScript
Raw Permalink Normal View History

"use strict";
module.exports = function (t, a) {
var e = new Error();
try { t.call(e); }
catch (e2) { a(e2, e); }
};