TypeScript
Also known as: TS
TypeScript is JavaScript plus an optional static type system. It compiles (erases) to JS. Used heavily with React, Node.js, and Next.js.
function greet(name: string): string {
return `hello, ${name}`;
}
const n: number = greet("world").length;