LPM42 / counter_object

uses increment() and getValue() in a complex object

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Counter Object

Uses: increment() = adds 1 to counter getValue() = gives back current count

Initial count is 0.

mocha test to verify object function.

About

uses increment() and getValue() in a complex object


Languages

Language:JavaScript 100.0%