Skip to content

Remove the clause about changes on aliased variables #3423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/documentation/copy/en/reference/Namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ let sq = new polygons.Square(); // Same as 'new Shapes.Polygons.Square()'

Notice that we don't use the `require` keyword; instead we assign directly from the qualified name of the symbol we're importing.
This is similar to using `var`, but also works on the type and namespace meanings of the imported symbol.
Importantly, for values, `import` is a distinct reference from the original symbol, so changes to an aliased `var` will not be reflected in the original variable.

## Working with Other JavaScript Libraries

Expand Down