Files
raspberryGPIOhtmlserver/node_modules/has-binary-data/gen.js
2016-06-21 18:42:57 +02:00

18 lines
217 B
JavaScript
Executable File

var ob = {};
var max = 5230; // just before call stack breaks
var count = 0;
function g(o) {
if (count++ < max) {
o.k = {};
g(o.k);
}
else {
o.k = 'cool';
}
}
g(ob);
console.log(JSON.stringify(ob));