summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-03-22 19:43:10 +0900
committerGitHub <noreply@github.com>2021-03-22 06:43:10 -0400
commit870337c6cd8c6a269cec7f4cab74a77419880b64 (patch)
tree5e1ff58d16f524bfb5309255954fec2555a6ed4d
parentf50ed4e281e6c30120412271eb66a1fb67d1c63e (diff)
typo
-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.