JavaScript is a dynamic, weakly typed programming language that is compiled at runtime. It can be executed as part of a webpage in a browser or directly on any machine (“host environment”). JavaScript was created to make webpages more dynamic (e.g. ...