arnaucube
arnaucube/raspberryGPIOhtmlserverPublic Self-hosted repository
raspberryGPIOhtmlserver/node_modules/has-binary-data/gen.js
node_modules/has-binary-data/gen.jsRaw
 1var ob = {};
 2
 3var max = 5230; // just before call stack breaks
 4var count = 0;
 5
 6function g(o) {
 7 if (count++ < max) {
 8   o.k = {};
 9   g(o.k); 
10 }
11 else {
12   o.k = 'cool'; 
13 }
14}
15
16g(ob);
17console.log(JSON.stringify(ob));