请问输出的结果是多少?

img

这是js, 不是java
还有你说的结果是alert()的结果吗?
第一个alert应该是:3
第二个alert应该是:bc
第三个alert应该是:9
第四个alert应该是:12(当前月份)

indexof 2
substr b
round 向下取整9
month 返回当前月份 - 1