在JavaScript中,可以使用Date对象的()方法设置Date对象中的年份。
A.setDate()
B.setFullYear()
C.setSeconds()
D.setTime()
正确答案:B
猜你喜欢