Node.js · Function
structuredClone
structuredClone is a global Node.js function that makes a structured clone of a value. It accepts the value and an optional options object.
Last updated
- Since
- v17.0.0
Syntax
structuredClone(value[, options])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
global objectsWorkerMessageChannel