โ Training โ Operators
📚 50 questions⏱ 15-20 min🏆 Instant feedback
โ No (Operators) JavaScript
using No Arithmetic Operations
๐ฏ What You Will Learn in This Training
This interactive training will help you master No JavaScript No :
- โ Ali type input string No
- โ
No
=+= - โ
No calculation
+-*/% - โ
using No comparison
><=== - โ
operator No
&&||! - โ
string using
+
โ No (Operators)?
No calculation variables .
: , calculation , comparison, .
// Example: using No
let x = 10; //
let y = x + 5; // calculation : 15
let isGreater = x > y; // comparison: false
x += 2; // : x = x + 2 (12)
let x = 10; //
let y = x + 5; // calculation : 15
let isGreater = x > y; // comparison: false
x += 2; // : x = x + 2 (12)
โ๏ธ 1๏ธโฃ No (Assignment Operators)
variable value .
let a = 5; // =
a += 3; // a = a + 3 (8)
a *= 2; // a = a * 2 (16)
a += 3; // a = a + 3 (8)
a *= 2; // a = a * 2 (16)
๐งฎ 2๏ธโฃ No calculation (Arithmetic Operators)
.
let sum = 10 + 5; // : 15
let diff = 10 - 5; // : 5
let product = 10 * 5; // : 50
let quotient = 10 / 3; // : 3.333...
let remainder = 10 % 3; // : 1
let diff = 10 - 5; // : 5
let product = 10 * 5; // : 50
let quotient = 10 / 3; // : 3.333...
let remainder = 10 % 3; // : 1
โ๏ธ 3๏ธโฃ No comparison (Comparison Operators)
comparison truefalse.
console.log(5 >3); // true
console.log(5 == "5"); // true
console.log(5 === "5"); // false
console.log(5 == "5"); // true
console.log(5 === "5"); // false
๐ค 4๏ธโฃ No (Logical Operators)
.
let a = true, b = false;
console.log(a && b); // false (AND)
console.log(a || b); // true (OR)
console.log(!a); // false (NOT)
console.log(a && b); // false (AND)
console.log(a || b); // true (OR)
console.log(!a); // false (NOT)
๐ 5๏ธโฃ string
operator + data type.
let numSum = 5 + 3; // 8 ( )
let strConcat = "5" + 3; // "53" ( string )
let strConcat = "5" + 3; // "53" ( string )
๐ 6๏ธโฃ No (Operator Precedence)
No execution expression .
//
let result = 5 + 3 * 2; // 5 + 6 = 11
// can be used change first
let result2 = (5 + 3) * 2; // 8 * 2 = 16
let result = 5 + 3 * 2; // 5 + 6 = 11
// can be used change first
let result2 = (5 + 3) * 2; // 8 * 2 = 16
first :
()***/%+->>=<<====!==&&AND||OR=