Đạt Michio
New member
What will be the output of the following JavaScript code?
A. Throws exception
B. Swap the value of the two variables
C. Flashes an error
D. Creates a new reference object
Code:
[x,y]=[y,x];
B. Swap the value of the two variables
C. Flashes an error
D. Creates a new reference object