Java: Java Programming For Beginners a simple Start To Java Programming (Written By a software Engineer)


Download 0.82 Mb.
Pdf ko'rish
bet81/95
Sana09.01.2022
Hajmi0.82 Mb.
#261112
1   ...   77   78   79   80   81   82   83   84   ...   95
Bog'liq
Java Programming For Beginners - A Simple Start to Java Programming ( PDFDrive )

C
HAPTER
3: B
ASICS
OF
J
AVA
S
CRIPT
Interaction is an important facet of any website. In order to connect with the audience in a
better way, it is vital to add behaviour to the website. This can be as simple as buttons or
as complex as animations. These tasks can be added using JavaScript, which is a web and
programming language. This chapter introduces JavaScript and shall help you get started
with JavaScript on an immediate basis.
Background


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.

Download 0.82 Mb.

Do'stlaringiz bilan baham:
1   ...   77   78   79   80   81   82   83   84   ...   95




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling