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:
“I long to create something
that cant be used to keep us passive:
I want to write
a script about plumbing, how every pipe
is joined
to every other.”
—Adrienne Rich (b. 1929)