I reverse-engineered Zones (zone.js) and here is what I’ve found
Max NgWizard K
1.2K9

Thanks for the article! its great!

here might be a typo — function b should call zoneAC.run(c) otherwice stack overflow error..

function c() {
console.log(Zone.current.name); // AC
}
function b() {
console.log(Zone.current.name); // B
zoneAC.run(a);
}
function a() {
console.log(Zone.current.name); // AC
zoneB.run(b);
}
zoneAC.run(a);
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.