Unit3.3-JS-Var Op

From WikiEducator
Jump to: navigation, search
Uou-logo-100px.png
Home  |  About UOU  |  About CEMCA  |  Contact Us    

Unit 3.3 Web application development tools & Technologies


3.3.5 JavaScript
  3.3.5.1 Data Types
  3.3.5.2 Variables
  3.3.5.3 Operators
  3.3.5.4 Conditional statement
  3.3.5.5 Dialog Boxes
  3.3.5.6 Functions


3.3.5.2 Variables

Variables are created using var command and assigning a value to a variable is done using an assignment operator (=).

Syntax:

       var <variable name>=value;

Example:

       var name;
       var enroll_no=12000123

Variable names are case sensitive.

3.3.5.3 Operators

The following are the some frequently used operators in JavaScript:

  1. Arithmetic operators

  2. Logical operators

  3. Comparison operators

  4. Assignment operators

                                                                                                 Next

Suggested Reading
  • Web Applications


 Suggested Videos
  • Video 01 Title
  • Video 02 Title
  • Video 03 Title