UNPKG

ifd

Version:

Life Extending Ternary Operator Abstractions

14 lines (11 loc) 285 B
const path = require('path'), ifd = require(path.join(process.cwd(), 'dist/ifd.js')); const test = ifd(undefined, false, NaN, null, false, { default: 'will-not-get-here', false: true }); module.exports = { exp: function (should) { should.equal(test, false); } };