Created
April 26, 2021 15:34
-
-
Save r17x/77405cf84c8085fa3318d348eaed1133 to your computer and use it in GitHub Desktop.
Measure my Browser callstack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const getMaxCallStack = () => { | |
let i=0; | |
function rec(){ | |
i++; rec(); | |
} | |
try {rec();} catch(e){}finally{return i} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment