1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 3 3 1 2 1 1 1 | console.log('Mostly Harmless'); module.exports = { answerToLifeTheUniverseAndEverything: function () { return 42; }, whatToDo: function (phrase) { return (phrase == "don't panic"); }, allThereIs: function () { return 6 * 9; }, worstFirstMillionYears: function () { return 10 + 10 + 10; }, message: function () { console.log("So Long, and Thanks for All the Fish."); }, startInfiniteImprobabilityDriver: function () { throw new Error("infinitely improbable"); } }; |