Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
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 is the difference between ?., ?.[] and ?.()? What is the purpose of each?
Auto Skip
Report Issue
A.
?. dot property; ?.[] bracket dynamic access; ?.() method call; all short-circuit for null/undefined
B.
?.[] only for array index access; cannot be used for object property access
C.
?.() throws TypeError if method does not exist; does not return undefined
D.
?. only for property access; ?.[] and ?.() do not exist
Previous
Next