const assert = v => !v ? throw new Error() : undefined; https://twitter.com/wolframkriesing/status/988442100340613120