Skip to content
Advertisement

Tag: typechecking

Type checker for JavaScript?

Does anyone know if there’s a good tool for analyzing JavaScript code and detecting type errors? I know that JavaScript itself is weakly and dynamically typed, but it would be really nice if I could have a program that would verify that all my field accesses are sensible and that I don’t try treating a number like a string, for

Advertisement