let promise = Promise.resolve();
promise.then(()=>alert(“1”));
alert(“2”);
promise.then(()=>alert(“1”));
alert(“2”);
Anonymous Quiz
21%
1 2
60%
2 1
8%
1
11%
2
quizSolver电报做题家
In JavaScript, console.log(5>4>3) outputs __.
Hint: When 5>4 it gives true which equals 1.
[typeof null, null instanceof Object]
// A. ["object", false] // B. [null, false] // C. ["object", true] // D. other
// A. ["object", false] // B. [null, false] // C. ["object", true] // D. other
Anonymous Quiz
43%
A
28%
B
19%
C
11%
D