Home
JS
JS
Tryit: JAVASCRIPT
运行 ❯
×
Change Orientation
Change Theme, Dark/Light
JavaScript getMonth()
getMonth() 方法以数字形式返回月份:
您可以使用数组来显示月份的名称: