DEV Community

Discussion on: OOP JAVASCRIPT PROBLEM !!!

Collapse
 
rodrigocnascimento profile image
Rodrigo Nascimento • Edited

Javascript has dynamic typing system. So the interpreter will trye to assign a type in execution time.

If you really want to use a static typing you should try to use typescript.