Ку,помогите написать код на javascript
<script> mc = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; d = new Date; if(d.getFullYear() % 4 == 0) mc[1] = 29; document.write(mc[d.getMonth()]); </script>