Javascript Operators
Javascript Operators
Practical Question
1. Write a JavaScript program to calculate multiplication
and division of two numbers (input from user).
OUTPUT:
JavaScript Comparison Operators
The JavaScript comparison operator compares the two
operands. The comparison operators are as follows:
Operator Description Example
== Is equal to (Value checking) 10==20 = false
a (char) == a (varchar) -> True
=== Identical (Value checking, equal 10==20 = false
and of same type)
10 (int) == 10 (float) -> False
10 (int) == 10 (int) -> True