The terms strongly typed and loosely typed refer to how programming languages handle types, particularly how strict they are about type conversions and type safety.
#include <iostream>
int main() {
int number = 10;
number = "text";
return 0;
}
function main() {
let number = 10;
number = "text";
return number;
}
People realised that javascript is a very power language, but lacks types. Typescript was introduced as a new language to add types on top of javascript.