diff --git a/packages/typescriptlang-org/src/templates/pages/why-create-typescript.tsx b/packages/typescriptlang-org/src/templates/pages/why-create-typescript.tsx index 228dc0a0e529..e22e2bcda06a 100644 --- a/packages/typescriptlang-org/src/templates/pages/why-create-typescript.tsx +++ b/packages/typescriptlang-org/src/templates/pages/why-create-typescript.tsx @@ -81,7 +81,7 @@ String name = "Danger";
In JavaScript you use the abbreviation var to declare a variable. Meanwhile, in Java you need to say what kind
of data the variable contains. In this case the variable contains a String. (A string is a programming term for
-a collection of characters. They "look like this". This 5m video is a good primer if you want to learn more.)
"look like this".)
Both of these variables contain a string, but the difference is that in Java the variable can only ever contain a string, because that's what we said when we created the variable. In JS, the variable can change to be anything, like a number, or a list of dates.