better.js
better.js copied to clipboard
inline tests as function attributes
from http://sergimansilla.com/blog/extending-js-inline-unit-tests/
example in there language:
function square(n) {
return n * n;
} where {
square(2) is 4
square(3) is 5
}