Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosSacASac committed Dec 24, 2020
1 parent 0b5cd5d commit 98c40ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/red-javascript-style-guide/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ To display the date.
const date = new Date();
date.setTime(time);

d.toLocaleString();
d.toLocaleTimeString();
d.toLocaleDateString();
date.toLocaleString();
date.toLocaleTimeString();
date.toLocaleDateString();
// and other toString variants
```

Expand Down

0 comments on commit 98c40ec

Please sign in to comment.