From bfe24cd33845c7ecdcb13291236a6586705a397a Mon Sep 17 00:00:00 2001 From: Fluid <74.enquirer214@passinbox.com> Date: Mon, 28 Jul 2025 03:57:02 +0300 Subject: [PATCH] remove the clause about changes on aliased variables --- packages/documentation/copy/en/reference/Namespaces.md | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/documentation/copy/en/reference/Namespaces.md b/packages/documentation/copy/en/reference/Namespaces.md index 5ad3795b352d..261b0e86d869 100644 --- a/packages/documentation/copy/en/reference/Namespaces.md +++ b/packages/documentation/copy/en/reference/Namespaces.md @@ -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