Sha256: 99021791e307900b4a894069b6e9d308da6ee38a33ecea73e4e5ef30d62439ba

Contents?: true

Size: 217 Bytes

Versions: 88

Compression:

Stored size: 217 Bytes

Contents

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));

Version data entries

88 entries across 88 versions & 2 rubygems

Version Path
flok-0.0.23 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.21 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.20 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.19 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.18 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.17 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.16 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js
flok-0.0.14 spec/iface/driver/assets/node_modules/socket.io/node_modules/has-binary-data/gen.js