JavaScript?? ???? ?? ??? ?? ??? ???? ? ???? ?? ?? ?? ??????. ?? ?? ???? ???? ?? ??? ??? ? ????. ?? ????? ???? ??? ??? ? ??? ??? ?????.
1?? ?? ??? (=)
?? ???? ??? ?? ???? ? ?????.
? ?:
let x = 10 // Assigns the value 10 to variable x let y = 5 // Assigns the value 5 to variable y
2?? ?? ???
?? ???? ??? ?? ???? ?? ??? ?????.
- (??)
- -(??)
- *(???)
- /(??)
- %(?? - ???? ???)
- ** (???(ES2016))
- (??)
- -- (??)
? ?:
console.log("x + y = " + (x + y)) // Output: x + y = 15 console.log("x - y = " + (x - y)) // Output: x - y = 5 console.log("x / y = " + (x / y)) // Output: x / y = 2 console.log("x * y = " + (x * y)) // Output: x * y = 50 console.log("x % y = " + (x % y)) // Output: x % y = 0 console.log("(x**y) = " + (x**y)) // Output: (x**y) = 100000 console.log("(++x) = " + (++x)) // Output: (++x) = 11 console.log("(x++) = " + (x++)) // Output: (x++) = 11 console.log("(--y) = " + (--y)) // Output: (--y) = 4 console.log("(y--) = " + (y--)) // Output: (y--) = 4
3?? ?? ???
?? ???? ? ?? ???? ??(true ?? false)? ?????. ?? ?? ? ????? ?? ?????.
- == (??)
- === (??? ???)
- != (?? ??)
- !== (??? ?? ??)
- < (??)
- > (?? ?)
- <= (??? ??)
- >= (?? ??? ??)
? ?:
console.log("(x == y) = " + (x == y)) // Output: (x == y) = false console.log("(x != y) = " + (x != y)) // Output: (x != y) = true // Compares datatypes also console.log("(x === y) = " + (x === y)) // Output: (x === y) = false // Compares datatypes also console.log("(x !== y) = " + (x !== y)) // Output: (x !== y) = true console.log("(x > y) = " + (x > y)) // Output: (x > y) = true console.log("(x >= y) = " + (x >= y)) // Output: (x >= y) = true console.log("(y < x) = " + (y < x)) // Output: (y < x) = true console.log("(y <= x) = " + (y <= x)) // Output: (y <= x) = true
4?? ?? ???
?? ???? ?? ??? ???? ?? ?(true ?? false)? ???? ? ?????.
- &&(?? AND)
- || (??? OR)
- ! (??? NOT)
? ?:
let isValidNumber = (x > 8 && 8 > y) // If both condition are correct returns true otherwise false console.log("(x > 8 && 8 > y) = " + isValidNumber) // Output: (x > 8 && 8 > y) = true let isValidCheck = (x > 20 || 8 > y) // If one of condition is correct returns true otherwise false console.log("(x > 20 || 8 > y) = " + isValidCheck) // Output: (x > 20 || 8 > y) = true let isValid = false console.log("(!isValid) = " + !isValid) // Output: (!isValid) = true
5?? ??? ???
???? ????? ??(? ??? ??)? ?? ???? ?? ??? ? ????. ??? ?? ???? ??? ?????.
? ?:
// Concatenation console.log("Richa " + "webDev") // Output: Richa webDev // Addition console.log(10 + 5) // Output: 15
6?? ?? ???(? :)
?? ???? ??? ??? ???? ??? ?????. ??? ??? ??? ?? ????, ???? ?? ?? ?????.
? ??:
condition ? valueIfTrue : valueIfFalse;
? ?:
const isEven = 10 % 2 === 0 ? "Number is even" : "Number is old" console.log("isEven = " + isEven) // Output: isEven = Number is even
? ????
num , --num ? num-- ??? ??? ?? ??? ?? ??? 21? ??? ?????. ??? ??? ?????.
let num = 20 console.log("num = " + num) // Output: (++num) = 21 console.log("(++num) = " + (++num)) // Output: (++num) = 21 console.log("(num++) = " + (num++)) // Output: (num++) = 21 console.log("(--num) = " + (--num)) // Output: (--num) = 21 console.log("(num--) = " + (num--)) // Output: (num--) = 21
??:
num = 20 (++num) = 21 (num++) = 21 (--num) = 21 (num--) = 21
??
JavaScript ???? ????? ???? ??? ???? ? ??? ?? ?? ?? ?????. ?? ????? ??? ???? ??? ??? ???? ???? ??? ??? ? ????. ?? ???? ??? ?? ??? ??? ? ? ??? ? ????!
??? ????? ?
? ??? JavaScript ??? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

JavaScript ??? ??? ?? ?? ? ?? ???? ????. ?? ???? ???, ??, ??, ?, ???? ?? ? ??? ?????. ?? ????? ?? ?? ? ? ??? ????? ?? ??? ??? ????. ??, ?? ? ??? ?? ?? ??? ??? ??? ???? ??? ??? ???? ??? ?? ??? ????. ?? ? ????? ??? ???? ? ??? ? ??? TypeofNull? ??? ?????? ??? ? ????. ? ? ?? ??? ???? ?????? ????? ???? ??? ???? ? ??? ? ? ????.

?????, JavaScript ???! ?? ? JavaScript ??? ?? ?? ?????! ?? ?? ??? ??? ??? ? ????. Deno?? Oracle? ?? ??, ??? JavaScript ?? ??? ????, Google Chrome ???? ? ??? ??? ???? ?????. ?????! Deno Oracle? "JavaScript"??? ????? Oracle? ?? ??? ??? ??????. Node.js? Deno? ??? ? Ryan Dahl? ??? ?????? ???? ????? JavaScript? ??? ???? Oracle? ????? ???? ?????.

Cacheapi? ?????? ?? ???? ??? ???? ???, ?? ??? ??? ?? ???? ? ??? ?? ? ???? ??? ??????. 1. ???? ????, ??? ??, ?? ?? ?? ???? ???? ??? ? ????. 2. ??? ?? ?? ??? ?? ? ? ????. 3. ?? ?? ?? ?? ?? ??? ??? ?? ?????. 4. ??? ???? ?? ?? ???? ?? ?? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 5. ?? ???? ??, ??? ??? ? ??? ??, ?? ??? ? ?? ???? ???? ???? ? ?? ?????. 6.?? ??? ?? ?? ?? ??, ???? ?? ? HTTP ?? ????? ?????? ???????.

??? JavaScript?? ??? ??? ?????? ?? ???????. ?? ??, ?? ?? ? ??? ??? ?? ????? ????? ?????. 1. ?? ??? ??? ????? ???? ??. ()? ?? ??? ??? ?????. ?. ()? ?? ??? ?? ??? ??? ?? ? ? ????. 2. ?? ??? .catch ()? ???? ?? ??? ??? ?? ??? ??????, ??? ???? ???? ????? ??? ? ????. 3. Promise.all ()? ?? ????? (?? ?? ?? ? ??????? ??), Promise.Race () (? ?? ??? ?? ?) ? Promise.AllSettled () (?? ??? ???? ??)

.map (), .filter () ? .reduce ()? ?? JavaScript ?? ?? ???? ??? ??? ??? ? ? ????. 1) .map ()? ??? ??? ??? ???? ? ??? ???? ? ?????. 2) .filter ()? ???? ??? ????? ? ?????. 3) .reduce ()? ???? ?? ??? ???? ? ?????. ???? ??? ????? ??? ?? ?? ??? ?????.

JavaScript? ??? ??? ?? ??, ? ? ? ?? ???? ???? ??? ??? ?????. 1. ?? ??? ?? ??? ???? ??? ??? ??? ??? ?? WebAPI? ?????. 2. WebAPI? ??????? ??? ?? ? ? ??? ?? ??? (??? ?? ?? ???? ??)? ????. 3. ??? ??? ?? ??? ?? ??? ?????. ?? ??? ??? ????? ??? ??? ?? ? ???? ?????. 4. ???? ?? (? : Promise. 5. ??? ??? ???? ?? ???? ???? ?? ?? ?? ??? ????? ? ??????.

??? ??? ?? ???? ?? ??? ???? ?? ??? ??? ?? ??? ?? ??? ?????. 1. ??? ?? : ?? ??? ?? ? ? ???? ?? ??? ???? ??? ???? ??????. ?? ??, ??? ?? ? ? ?? ??? ?? ? ?? ??? ??????. 2. ??? ?? : ??? ???? ?? ?? ??? ?? ???? ????? ? ?? ?????? ???? ????? ? ?? ?? ??? true? ??????. 3. ?? ???? ?? ?? ??? ?? ??, ?? ??? ? ?? ???? ?????. 4. DOM ??? ???? ??, ?? ? ??? ? ??? ??? ?? ???? ?? ???? ?????.
