0.0.6 • Published 9 years ago
es6-counter v0.0.6
counter
Counter
class written in Javacript ES6. This is just a hello program for me.
Usage - API
Run command as below, and generated in docs
dir.
$ npm run docs
Example
var c = new Counter();
for (let i = 0; i < 10; i++) {
c.increment();
}
console.log(c.getValue()); //=> 10
c.decrement(); //=> 9
License
MIT