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. ;-)
This commit is contained in:
Mau Di Bert 2019-02-16 12:46:54 -03:00 committed by GitHub
parent 1b2d3e8010
commit 4505bda102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -361,7 +361,7 @@ alert( JSON.stringify(meetup) );
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. 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.
Now let's add a custom `toJSON` for our object `room`: Now let's add a custom `toJSON` for our object `room` `(2)`:
```js run ```js run
let room = { let room = {