Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What do ||=, &&= and ??= operators do?
Auto Skip
Report Issue
A.
||= and &&= and ??= all serve same function; no difference
B.
||= always assigns; &&= never assigns; ??= does null check
C.
||= assigns if falsy; &&= assigns if truthy; ??= assigns if null/undefined; short-circuit evaluation
D.
These operators only work for numerical values; string and object not supported
Previous
Next