JavaScript "Counter" object, what is it?

firefox, html, javascript, webkit

Solution

http://blog.peschla.net/doxygen/v8_chromium_r157275/v8-counters_8h.html

I believe this is saying counters is for garbage collection, counting the number of references to any given data. Direct or Indirect to help it create a more accurate pointer for recalling that data or releasing it from cache? correct me if i am wrong, I am new..It was just more fun to google than to study.

Problem

I just noticed by accident that WebKit and Firefox define a global variable called "Counter" in the window. Any idea of what this is? On Chrome, it appears as such in the watch: ``` Counter: function Counter() { [native code] } ``` Note: this variable is not present on IE (tested with version 10)

Original source