码云 前端开发 JavaScript中的 setMonth() 方法 定义和用法 setMonth() 方法用于设置月份。 注意: 一月为 0, 十二月为... JavaScript JS参考手册 setMonth()