We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 792335f commit dd2fc90Copy full SHA for dd2fc90
doc/api/worker_threads.md
@@ -312,7 +312,7 @@ if (isMainThread) {
312
* `options` {Object}
313
* `eval` {boolean} If true, interpret the first argument to the constructor
314
as a script that is executed once the worker is online.
315
- * `data` {any} Any JavaScript value that will be cloned and made
+ * `workerData` {any} Any JavaScript value that will be cloned and made
316
available as [`require('worker_threads').workerData`][]. The cloning will
317
occur as described in the [HTML structured clone algorithm][], and an error
318
will be thrown if the object cannot be cloned (e.g. because it contains
0 commit comments