分析下面的JavaScript代码段var a=['1','ken','bruce','32'];document.write(a.sort()+"<;br/>;");document.write(a.reverse()+"<;br/>;");输出结果正确的是( ) A: bruce,ken,1,32,32,1,ken,bruce B: 1,32,bruce,kenken,bruce,32,1 C: 32,1,ken,brucebruce,ken,1,32 D: 1,bruce,ken,3232,ken,bruce,1
分析下面的JavaScript代码段var a=['1','ken','bruce','32'];document.write(a.sort()+"<;br/>;");document.write(a.reverse()+"<;br/>;");输出结果正确的是( ) A: bruce,ken,1,32,32,1,ken,bruce B: 1,32,bruce,kenken,bruce,32,1 C: 32,1,ken,brucebruce,ken,1,32 D: 1,bruce,ken,3232,ken,bruce,1
1