text: Q:
  
  Check when the last function
  
  If i'm calling 2 or 3 times a function, like this:
  somefunction();
  somefunction();
  
  How could i know when is the last time the function has been called?
  i'm asking that because i want the last function to do one more thing.
  
  A:
  
  Pass a parameter that determines whether the function should do "one more thing"
  somefunction(false);
  somefunction(true);
  
  