JS写一个简单的程序,判断年份是平年还是闰年<script type="textjavascript">var year=prompt("请输入年份")弹出输入框var a1=year%4==0var a2=yea2023-02-20JavaScript210