Closed bahmutov closed 10 years ago
And add the source for the function (if short) to the messages
lazyAss(function () { return 2 + 2 === 5}, 'checking math'); // inside lazyAss if (typeof arguments[0] === 'function') { if (!arguments[0]()) { var msg = arguments[0].toString() + ' ' ... the rest of arguments
And add the source for the function (if short) to the messages