JavaScript considers types only when actually running the program, and even there often tries to implicitly convert values to the type it expects, so it's not much help. Still, types provide a useful ...