Skip to content

Commit 1157a95

Browse files
authored
Merge pull request #811 from maurodibert/patch-29
Update article.md
2 parents ba34f5e + 4505bda commit 1157a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ alert( JSON.stringify(meetup) );
361361

362362
Here we can see that `date` `(1)` became a string. That's because all dates have a built-in `toJSON` method which returns such kind of string.
363363

364-
Now let's add a custom `toJSON` for our object `room`:
364+
Now let's add a custom `toJSON` for our object `room` `(2)`:
365365

366366
```js run
367367
let room = {

0 commit comments

Comments
 (0)