1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1 9 9 5 4 | /* vim: set et sw=2 ts=2: */ 'use strict'; module.exports = { '&& AND': function (a, b) { return a && b; }, '|| OR': function (a, b) { return a || b; }, not: function (value) { return !value; }, bool: function (no, yes, bool) { return bool ? yes : no; } }; |