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 codebytere committed Mar 30, 2020
1 parent 5500521 commit f5663d9
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 f5663d9

Please sign in to comment.