Skip to content

Commit c8db74f

Browse files
Dorin-Davidpasor1
andauthored
Update 1-js/05-data-types/11-date/article.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent 5737d27 commit c8db74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ let date = new Date(2016, 0, 2); // 2 Gen 2016
207207
date.setDate(1); // imposta il primo giorno del mese
208208
alert( date );
209209

210-
date.setDate(0); // il giorno minimo è 1, quindi viene presupposto l'ultimo giorno del mese precedente
210+
date.setDate(0); // il primo giorno del mese è 1, quindi viene impostato l'ultimo giorno del mese precedente
211211
alert( date ); // 31 Dec 2015
212212
```
213213

0 commit comments

Comments
 (0)