Thursday, 22 August 2013

How to create constructor function Count?

How to create constructor function Count?

Function count() return 1, 2, 3... How to create constructor function Count?
var count = new Count();
count(); // 1
count(); // 2

No comments:

Post a Comment