I was playing around with this piece of code in Firefox and I noticed that the recursion depth is always different, every time I run it.
var counter = 0
try {
!function recursive() {
counter++
recursive()
}()
} catch (e) {
console.log(counter)
}
The same does not happen in Chrome. Why is that?