Skip to content

Commit 4505bda

Browse files
authored
Update article.md
adding the reference. I'm not sure if that's correct but if not, the reference appears in the last example but it doesn't target anything. ;-)
1 parent 1b2d3e8 commit 4505bda

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)