⊗jsOpPrMn 59 of 60 menu

Month Class in OOP in JavaScript

Make a class Month that will represent a month. Let the constructor of this class take the month number as a parameter.

Make a method that will return the month number.

Make a method that will return the name of the month.

Make a method that will return the number of the last day of the month.

Create a method that will return the day of the week number of the first day of the month.

Create a method that will return the day of the week number of the last day of the month.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline