单项选择题

分析如下代码,下面代码运行结果是:()
var x=0;switch(++x){case 0: ++x;case 1: ++x;case 2: ++x;

A.1
B.2
C.3
D.4

微信扫码免费搜题