I'm trying this quiz in the Chrome console: Quiz
I can explain most of them somewhat after trying them out. But one thing confuses me:
var x = [typeof x, typeof y][1];
typeof typeof x;
.... returns "string", which doesn't make any sense to me.
var x = [typeof x, typeof y][1];
returns "undefined"
typeof "undefined"
returns "string", which makes some sense because undefined was in quotes. But overall, I don't see the purpose of "undefined" in coexistance with undefined. Also, what kind of array syntax is that? "Javascript The Good Parts" says that there are no multidimensional arrays.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…