Skip to content

Commit 38e670d

Browse files
authored
getSeconds example fix
1 parent 39d469e commit 38e670d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

readMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,11 +1650,11 @@ console.log(now.getMinutes()) // 56, because the time is 00:56:41
16501650

16511651
### Getting seconds
16521652

1653-
Let's extract or get the minutes from a time object.
1653+
Let's extract or get the seconds from a time object.
16541654

16551655
```js
16561656
const now = new Date () //
1657-
console.log(now.getMinutes()) // 56, because the time is 00:56:41
1657+
console.log(now.getSeconds()) // 41, because the time is 00:56:41
16581658
```
16591659

16601660
### Getting time

0 commit comments

Comments
 (0)