Skip to content

Instantly share code, notes, and snippets.

@rakeshpai
Created February 20, 2013 12:29
Show Gist options
  • Select an option

  • Save rakeshpai/4995193 to your computer and use it in GitHub Desktop.

Select an option

Save rakeshpai/4995193 to your computer and use it in GitHub Desktop.

Revisions

  1. rakeshpai created this gist Feb 20, 2013.
    12 changes: 12 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <!doctype html>
    <title>Stackgen</title>
    <script src="stackgen.js"></script>

    <script>
    try {
    stackgen();
    } catch(e) {
    ex = e;
    throw e;
    }
    </script>
    7 changes: 7 additions & 0 deletions stackgen.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function stackgen() {
    newFrame();
    }

    function newFrame() {
    badCall();
    }