Learn JavaScript
call, apply and bind
29.2 - Ex 1
Exercise

The apply method

​ Improve the code given in the example given below, so that we get the following result displayed on the console: January: 31 days. First month of the year.