diff --git a/docs/docs/07-examples/10-using-javascript.md b/docs/docs/07-examples/10-using-javascript.md index 5410a9f9082..843ee116998 100644 --- a/docs/docs/07-examples/10-using-javascript.md +++ b/docs/docs/07-examples/10-using-javascript.md @@ -27,7 +27,7 @@ To call this in preflight code, define the function as an `extern` in a class. **Note:** Extern functions must be `static.` -If you want to use the function outside of the calss, be sure to decalre it as `pub`. +If you want to use the function outside of the class, be sure to declare it as `pub`. ```ts class JsExample {