C Language | C++ | Asp.net | VB.net | Oracle | Hardware and Networking | MCSE |
Contact: | Name: Shrinivas | Mobileno:919703619391 | E-mail: vas.shrinivas002@gmail.com |
Almost everything in JavaScript is case sensitive
A). JavaScript keywords, for and if are always lowercase.
B). Builtin objects Math and Date are capital
C). DOM's are usually lowercase.
D).Blank spaces are ignored by JavaScript
Comment
// this is comment
If you want to write before writing any program like adding of two numbers. Use two forward slashes(//).
// adding of two numbers.
If you like to comment more than a single line use this
/*
This program works like calculator it
will add numbers or multiply numbers or div numbers
and also this will works like scientific calculator
and it has much more functional ties.
*/
See above in between (/* */) I have added more lines.
No comments:
Post a Comment