Merge pull request #15 from npnjuguna/npnjuguna-getSeconds-example-fix

getSeconds example fix
pull/16/head
Asabeneh 5 years ago committed by GitHub
commit e1aaaa8c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1650,11 +1650,11 @@ console.log(now.getMinutes()) // 56, because the time is 00:56:41
### Getting seconds ### Getting seconds
Let's extract or get the minutes from a time object. Let's extract or get the seconds from a time object.
```js ```js
const now = new Date () // const now = new Date () //
console.log(now.getMinutes()) // 56, because the time is 00:56:41 console.log(now.getSeconds()) // 41, because the time is 00:56:41
``` ```
### Getting time ### Getting time

Loading…
Cancel
Save