Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Code fix
  • Loading branch information
yinkar committed Nov 22, 2021
commit dc2e98ea526be2e30898ebcedef3e62d80e5fbb7
4 changes: 2 additions & 2 deletions 1-js/05-data-types/10-date/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ Gördüğünüz gibi,`setHours` gibi bazı metodlar birden fazla bileşeni aynı
```js run
let today = new Date();

bugun.setHours(0);
today.setHours(0);
alert(today); // bugün ve saat 0

bugun.setHours(0, 0, 0, 0);
today.setHours(0, 0, 0, 0);
alert(today); // bugün ve saniye 00:00:00.
```

Expand Down