UNPKG

voll

Version:

Boolean expressions evaluator.

14 lines (9 loc) 275 B
'use strict' function SyntaxError (message, hash) { if (!(this instanceof SyntaxError)) return new SyntaxError(message, hash) this.name = 'SyntaxError' this.message = message this.hash = hash } SyntaxError.prototype = Error.prototype module.exports = SyntaxError