Media Summary: This is a very tricky one, I recommend thorough reading on this article Implicit Coercion is bad design for JavaScript, there is no need to remember this, just keep in mind to avoid using these. var doesn't have block scope also setTimeout delays function to next eventloop.
Bfe Dev Quiz 9 Null - Detailed Analysis & Overview
This is a very tricky one, I recommend thorough reading on this article Implicit Coercion is bad design for JavaScript, there is no need to remember this, just keep in mind to avoid using these. var doesn't have block scope also setTimeout delays function to next eventloop. ... adds new microtask 2. microtasks are flushed before next task ... promise have internal state which can only be modified once. Not hard, just pay attention to finally()
We take a look at how Promise.prototype.then() should work as defined in JS spec. An easy one, just remember the spec of addition operator This is interesting question, just recommend referring to the spec of JavaScript Difference between ++a and a++ is the return value. ++a returns the value after increment while a++ returns the original value. Tricky one, seems like argument name mapping only happens at initializing.