JavaScript is the preferred programming language for client side scripting. Contrary to
popular belief, JavaScript is in no way related to Java.
In fact, it finds resemblance to
ECMAScript. Besides this, the only common thing between
this programming language
and other programming languages like C and C++ is that it uses curly braces. The
international standard for JavaScript is given in ISO/IEC 16262 and ECMA-262
specification.
One of the most important features of this programming language is that it is untyped. In
other words, specifying the type of a variable is not necessary for using it. For example, if
you have assigned
a string to a variable, you can later assign an integer to the same
variable. Variables are
declared using the keyword var.
Do'stlaringiz bilan baham: