Media Summary: An easy one, just remember the spec of addition operator The implement is not hard, but it is hard to understand why swapping randomly is *not* real shuffle. I did a rough prove of it in this ... ... adds new microtask 2. microtasks are flushed before next task
Bfe Dev Quiz 8 Implicit - Detailed Analysis & Overview
An easy one, just remember the spec of addition operator The implement is not hard, but it is hard to understand why swapping randomly is *not* real shuffle. I did a rough prove of it in this ... ... adds new microtask 2. microtasks are flushed before next task We take a look at how Promise.prototype.then() should work as defined in JS spec. ... promise have internal state which can only be modified once. var doesn't have block scope also setTimeout delays function to next eventloop.
Not hard, just pay attention to finally()