docs: fix typo in Buffer#toJSON() docs

This commit is contained in:
Nathan Rajlich 2012-09-09 11:15:45 -07:00
parent a4ef01df07
commit dba47aefa5

View File

@ -111,7 +111,7 @@ See `buffer.write()` example, above.
### buf.toJSON() ### buf.toJSON()
Returns a JSON-representation of the Buffer instance, which is identical to the Returns a JSON-representation of the Buffer instance, which is identical to the
output for JSON Arrays. `JSON.stringify` implictly calls this function when output for JSON Arrays. `JSON.stringify` implicitly calls this function when
stringifying a Buffer instance. stringifying a Buffer instance.
Example: Example: