Forbrukslån Sammenligning | Bluetooth Kuulokkeet | Kredittkort Liste | Strømkalkulator | Brannalarm Pris | Personforsikring | Mobilselskaper 2018 | Varmepumper Sammenligning
JavaScript programming

Operator and Operand java script tutorial

Written by Tusher


Other programming languages, such as JavaScript logical, relational and arithmetic operations through the execution of the program is made for special functions. And these logical, relational and arithmetic operations are used to perform some special symbols or characters. Such as +, -, *, /, <,>, =, etc; These marks are samurai operator.


Only the operator does not have any value. Operators of different kinds of data, variables, numbers, etc. work with. These data, variables, numbers that samurai Darren. For example; If you are writing x + y = 55; The x, y and 55 Darren

Practice Project:

body{background: #FFC;

<script type = “text/java script”>
var a = 30;
var b = 20;
var c = 5;
var d = ( a + b )* c;
document.write(“<p>( A + B ) × C = ”
+ d + “.</p>”);
document.write(“<p>A= ”
+ a + “.</p>”);
document.write(“<p>B= ”
+ b + “.</p>”);
if( a>b ){
document.write(“The largest value is A “);
document.write(“The largest value is B “);


Notepad: to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

( A + B ) × C = 250.

A= 30.

B= 20.

The largest value is A

Propitiate used above +, =, *,> is the operator. And a, b, c, d is aparenda.

About the author