Skip to content

Commit bf53741

Browse files
committed
line 424
1 parent 1c57e85 commit bf53741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/11-date/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ alert(date);
421421

422422
Note that unlike many other systems, timestamps in JavaScript are in milliseconds, not in seconds.
423423

424-
Sometimes we need more precise time measurements. JavaScript itself does not have a way to measure time in microseconds (1 millionth of a second), but most environments provide it. For instance, browser has [performance.now()](mdn:api/Performance/now) that gives the number of milliseconds from the start of page loading with microsecond precision (3 digits after the point):
424+
Sometimes we need more precise time measurements. JavaScript itself does not have a way to measure time in microseconds (1 millionth of a second), but most environments provide it. For instance, browser has [performance.now()](mdn:api/Performance/now) that returns the number of milliseconds from the start of page loading with microsecond precision (3 digits after the point):
425425

426426
```js run
427427
alert(`Loading started ${performance.now()}ms ago`);

0 commit comments

Comments
 (0)