|
JavaScript programs are made of statements.
Technically, statements are a group of one or more items and
symbols on a line. Put simply, however, a statement is a line of code.
Example :
document.write("You
have been introduced to JavaScript");
Note: In JavaScript,
a semicolon is a way of saying that the statement has ended
and that the script can be executed. Semicolons are normally
used at the end of each line, but you can place multiple statements
on a line, if each is separated by a semicolon.
Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.
|
|