summaryrefslogtreecommitdiffstats
path: root/devtools/client/memory/test/browser/doc_big_tree.html
blob: 4ad60402a6825c36e36cd9c4e07407887ad2b5f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
    <body>
        <script>
         window.big = (function makeBig(depth = 0) {
           var big = Array(5);
           big.fill(undefined);
           if (depth < 5) {
             big = big.map(_ => makeBig(depth + 1));
           }
           return big;
         }());
        </script>
    </body>
</html>