Skip to content

Commit 58262fb

Browse files
committed
get-started, ch2: fixed minor typo
1 parent 7d6e458 commit 58262fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get-started/ch2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It may surprise you to consider separate .js files as separate JS programs. From
2929
| :--- |
3030
| Many projects use build process tools that end up combining separate files from the project into a single file to be delivered to a web page. When this happens, JS treats this single combined file as the entire program. |
3131

32-
The only way multiple standalone .js files act as a single program is by sharing their state (and access to their public functionality) via the "global scope." They mix together in this global scope namespace, so at runtime they act as as whole.
32+
The only way multiple standalone .js files act as a single program is by sharing their state (and access to their public functionality) via the "global scope." They mix together in this global scope namespace, so at runtime they act as a whole.
3333

3434
Since ES6, JS has also supported a module format in addition to the typical standalone JS program format. Modules are also file-based. If a file is loaded via module-loading mechanism such as an `import` statement or a `<script type=module>` tag, all its code is treated as a single module.
3535

0 commit comments

Comments
 (0)