Hi
Most programmers copy-paste the examples and play around with them until they learn how to use the API.
On the sample code given here the code does not work because the initialCount is not defined.
It should be fixed like this:
function init(initialCount) { return {count: 0}; }
Hi
Most programmers copy-paste the examples and play around with them until they learn how to use the API.
On the sample code given here the code does not work because the initialCount is not defined.
It should be fixed like this:
function init(initialCount) { return {count: 0}; }