What are the main functions performed by JavaScript Statements?

Submitted by: Administrator
The <SCRIPT> Script statement(s) </SCRIPT> tag consists of JavaScript statement. Just to be compatible with all the browsers it is been written in comments and it also accepts a semicolon(;) at the end of every statement. JavaScript also uses the carriage return at the end of a statement. Every statement has a purpose like:
- Define or initialize a variable that will be used in an object when executing the script
- Assign a value to a property or variable so that user inputs can be taken according to the values that are defined in it.
- Change the value of a property or variable to give more flexibility to the use of a scripting language.
- Invoke an object's method to allow faster processing of the system
- Invoke a function routine to allow the function to perform various activities so that the application can run at faster speed.
Submitted by:

Read Online Expert Developer JavaScript Job Interview Questions And Answers