JavaScript? ??? ?? ? NULL ? ???? ?? ??? ? ???? ???? ????. 1. ??? ??? ???? ??? ?????. 2. Nullish Coalescing? ?? null ?? ???? ?? ?? ???? ???? ? ???? '', 0, false? ?? ??? ?? ?? ???? ????. 3. ???? .profile? .age? ?? ? ??? ?? ??????. ?? 25, ????? ? ???? ?? ?? ?????? ???? ???? ??? ? ??? API ???, ?? ?? ??, ??? ?? ? ?? ????? ???? ? ?????.
?? ??? ? ?? JavaScript? ???? ??? ? ???? ?? ? ? ????. ? ? ?? ??? ?? ?? ? ?? ??? ??? ? ? ??? ???? ?? ??? ???? ? ?????. ?? ?? ? ? ??? ????? ???? ?? ??, ???? ?? ?????.

?? ??? ?? ??? ??? ?????
JavaScript??? user.address.city
? ?? ???? ?? ?? ??? ???????? address
undefined
?? ????? ????????. ????? ??? ??? ?? ?? ??? ???? ? ?? ????.

if (user && user.address && user.address.city) { // ??}
??? ??? ???? ??? ?? ? ? ????.
const city = user? address? .city;
user
?? address
? null
?? undefined
?? ???? ?? undefined
???? ??????? ????. ? ??? ?? ?? ??? ???? ? ???? ?? ?? ?? ??? ????.

?? ????? ??? ????? ?? ???? ????.
- API? ?? ? ?? ???? ???????
- React ?? ???? ???? ?? ??? ??? ?????.
- ???? ?? ?? (? :
window.navigator.userAgent
)? ?????.
Nullish Coalescing??? ??? ???? ?????
???? ?? ?? ??? ||
????? ??? ?? ???? ???? ? ???????.
const name = username || '??';
???? ???? ''
, 0
? false
? ?? "?? ?"? ???? ??????. ?? null
?? undefined
???? ???? ????? NULL ? ?? ???? ??????? ??
:
const name = username ?? '??';
?? 'Guest'
username
null
?? undefined
???? ???? ?? ??? ?? ?????.
?? ??:
console.log (null ?? 'default'); // '??' console.log (???? ?? ?? '???'); // '???' console.log ( ''?? ''default '); // '' Console.log (0 ?? 'Default'); // 0
? ??? ??? ??, ?? ?? ?? ? ?? ????? ???? ? ?? ?????.
? ? ?????
?? ?? ? ???? ??? ?????. ?? ??, ???? ??? ???? ?? ?? ?? ???? ?????.
const age = user? .profile? .age ?? 25;
? ??? ??? ??? ????. user
?? profile
???? ??? age
null
?? undefined
?? 25? ?????. ??? ??? ?? age
?? ?????.
? ??? ???? ??? ??? ??? ?? ? ? ???? ???? ?? ? ????.
????? ?? ??. ?? ??? ? ?? ???? ??? ?? ??? ?? ?? ??? ??? ? ???? ?? ? ????. ????? ??? ?? ???? ?? ?? ??? ?? ??? ??? ???? ? ????.
? ??? JavaScript ??? ?? ? Nullish Coalescing ??? ?? ?????. ??? ??? 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? ????? ???? ?????.

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

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

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

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

JavaScript ???? ? ? ?? ??? ???? ??? ???? ?? ??? ????. 1. ??? ???? ??? ??, ??, ??? ?? ? ??? ??? ?? ? ? ????. 2. ?? ? findIndex? ?? ?? ?? ???? ?? ? ?????. 3. ??? ??? ????? ?? ?? ??? ???? ? ?????. 4. ??? ?? ? ? ??? ?? ??? ?????. 5. ???? ??? ?? ??? ??? ? ?? ?????????. ??? ??? ????? ???? ????? ????.
