phantomjs/test/require/thrower.js

4 lines
56 B
JavaScript

exports.fn = function() {
throw new Error('fn');
};