Skip to content

Commit

Permalink
doc: clarify that v8.serialize() is not deterministic
Browse files Browse the repository at this point in the history
Fixes: nodejs/help#2448

PR-URL: #31548
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
addaleax authored and Trott committed Jan 31, 2020
1 parent abe6a2e commit dd4c62e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ if (isMainThread) {

The serialization API provides means of serializing JavaScript values in a way
that is compatible with the [HTML structured clone algorithm][].

The format is backward-compatible (i.e. safe to store to disk).
Equal JavaScript values may result in different serialized output.

### `v8.serialize(value)`
<!-- YAML
Expand Down

0 comments on commit dd4c62e

Please sign in to comment.