Skip to content

Commit e1aaaa8

Browse files
authored
Merge pull request Asabeneh#15 from npnjuguna/npnjuguna-getSeconds-example-fix
getSeconds example fix
2 parents 39d469e + 38e670d commit e1aaaa8

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)