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:
“...he sent letters to all the royal provinces, to every province in its own script and to every people in its own language, declaring that every man should be master in his own house.”
—Bible: Hebrew, Esther 1:22.
King Ahasuerus, after his Queen Vashti refused to come at the kings command.