definition of javascript
The syntax of JavaScript is the set of rules that define a correctly structured JavaScript program. The examples below make use of the alert function for standard text output. The JavaScript standard library lacks an official standard text output function.