Update task.md

Fixed minor grammatical errors
This commit is contained in:
hrodward 2019-10-15 10:30:28 +02:00 committed by GitHub
parent c2d8a8b6d7
commit 6da81c5e1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@ importance: 5
---
# How many seconds has passed today?
# How many seconds have passed today?
Write a function `getSecondsToday()` that returns the number of seconds from the beginning of today.
For instance, if now `10:00 am`, and there was no daylight savings shift, then:
For instance, if now were `10:00 am`, and there was no daylight savings shift, then:
```js
getSecondsToday() == 36000 // (3600 * 10)