JavaScript was invented in 1995 by Brendan Eich while he was working at Netscape Communications. It's Originally Called Mocha, then LiveScript, finally renamed JavaScript. JavaScript is a cross-platform, object-oriented scripting language used to make webpages interactive.
It's Purpose to make web pages interactive, complement HTML and CSS and run directly in the browser. JavaScript was created in just 10 days, but for now it's trun into the world’s most widely used programming language.
It's behave dynamically like form validation, animations, user interaction. JavaScript's dynamic capabilities include runtime object construction, variable parameter lists, function variables, dynamic script creation (via eval)[TBD].
JavaScript contains a standard library of objects, such as Array, Map, and Math, and a core set of language elements such as operators, control structures, and statements. Core JavaScript can be extended for a variety of purposes by supplementing it with additional objects.
JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed.
Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction#what_is_javascript
Top comments (0)