const one = false;
const two = false;
const three = true;
// while this gives us the desired outcome the// logic is hard to reason aboutconst foo = one ? 1 : two ? 2 : three ? 3 : 4;
// foo === 3module.exports = {
exp: function (should) {
should.equal(foo, 3);
}
};