Skip to content

Is it deterministic? #163

Closed as not planned
Closed as not planned

Description

@jjangga0214

Hi!

I want to know if the result is deterministic, so reproducible across different environments (e.g. different node version, OS, etc).

Thanks :)

Activity

  1. redonkulus commented on Oct 22, 2026

    @redonkulus
    Collaborator

    Yes. For the same input, serialize() returns the same output. Key order follows JSON.stringify (insertion order), and the internal random ID never appears in the output. Function bodies come from Function.prototype.toString(), so they can differ between JavaScript engines. Closing as answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions