I\'m a beginner with JavaScript so please be patient =)
I am trying to write a function that counts the number of times it is called. What I have so far is a functi
ob = function f(){ ++f.i || (f.i=1); // initialize or increment a counter in the function object return f.i; }