istanbul-lite (0.0.1)
the greatest app in the world!
edit or paste script below to instrument and cover
if (true) { console.log("hello"); } else { console.log("bye"); } let fibonacci = { [Symbol.iterator]() { let pre = 0, cur = 1; return { next() { [pre, cur] = [cur, pre + cur]; return { done: false, value: cur } } } } } for (var n of fibonacci) { // truncate the sequence at 1000 if (n > 1000) break; console.log(n); }
instrumented-code
stderr and stdout
[ this app was created with
utility2
]