JavaScript Debugging 1 : A small utility function

In this small series, I'm going to start explaining how to do JavaScript debugging, namely bug tracing at the advanced level, since I can't seem to find tutorials except how to actually run the debugger itself.

So in order to start, let's build first an utility class that we'll use in several places, the onceMany utility function: