Serializes a JavaScript value and adds the serialized representation to the internal buffer.
This throws an error if value cannot be serialized.
Search the reference...
/
method
Serializes a JavaScript value and adds the serialized representation to the internal buffer.
This throws an error if value cannot be serialized.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →