What are the main functions performed by JavaScript Statements?
Submitted by: AdministratorThe <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:
- 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
Top Expert Developer JavaScript Questions
☺ | Mention what is the disadvantage of using innerHTML in JavaScript? |
☺ | Which keyword is used to print the text in the screen? |
☺ | Why it is not advised to use innerHTML in JavaScript? |
☺ | Explain the concept of unobtrusive JavaScript? |
☺ | How are JavaScript and ECMA Script related? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |