From 099878364a22af48bf9bfd91951eb679d4a2687e Mon Sep 17 00:00:00 2001 From: VitaliPri Date: Mon, 29 Jun 2026 19:10:58 -0400 Subject: [PATCH] docs: remove unavailable YouTube video link from why-create-typescript page The linked 5-minute primer video (youtube.com/watch?v=czTWbdwbt7E) is no longer available. Remove the sentence referencing it to avoid a broken link on the why-create-typescript page. Fixes microsoft/TypeScript#58751 --- .../src/templates/pages/why-create-typescript.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.)

+a collection of characters. They "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.