summaryrefslogtreecommitdiff
path: root/docs/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'docs/runtime')
-rw-r--r--docs/runtime/workers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime/workers.md b/docs/runtime/workers.md
index 82e1e5b2d..d1a47e6d9 100644
--- a/docs/runtime/workers.md
+++ b/docs/runtime/workers.md
@@ -11,7 +11,7 @@ the `type: "module"` option when creating a new worker.
Use of relative module specifiers in the main worker are only supported with
`--location <href>` passed on the CLI. This is not recommended for portability.
-You can instead use the `URL` contructor and `import.meta.url` to easily create
+You can instead use the `URL` constructor and `import.meta.url` to easily create
a specifier for some nearby script. Dedicated workers, however, have a location
and this capability by default.