Skip to content

Commit

Permalink
doc: clarify that v8.serialize() is not deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Jan 28, 2020
1 parent 7b7e7bd commit f923cb3
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 f923cb3

Please sign in to comment.