Returns the Number value 1
This module should be used when you need a function that returns the Number
value 1
.
$ npm install one
Simply require the one
module. The export is a function which returns the
Number value 1
:
var one = require('./one-aka-1')
, myOneValue = one();
console.log(myOneValue === one); // Logs 'true'
Running the tests requires the Jake JavaScript build tool. In the root project directory, run the following:
$ jake test
Please feel free to file bugs or suggest improvements here: