JS Test: Assignment evaluation order

Last modified by Sergiu Dumitriu on 2018/10/10 17:05

Task: What does the following code return? Why?

var y = 1, x = y = typeof x;
x;