Java Script Syntax
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. However, given that JavaScript is mainly used for client-side scripting within modern web browsers, and that almost all web browsers provide the alert
function, alert
is used in the examples.
Read more about Java Script Syntax: Origins, Variables, Primitive Data Types, Native Objects, Operators, Functions, Objects, Exception Handling
Famous quotes containing the word script:
“If its a good script Ill do it. And if its a bad script, and they pay me enough, Ill do it.”
—George Burns (b. 1896)