Js is a language developed for web programming in 1995. It supports only dynamic typing.
TS is an OOP language which was developed for large scale applications in 2012 by Microsoft. It is a superset of JS and needs to be compiled before execution. It supports both static and dynamic typing. Strong typed structure throws error for the dynamic typing such as
let var = 'a';var = 1;
[but still runs]
I had alread noted the scopes and types here
. Fore quick notes about Modules and functions, please see here
The test framework selection is an important and a difficult decision. Not easy to write, so please see my recording