+ 2

What question mark functionality in js

What does this question mark do in this specific code bellow https://code.sololearn.com/Wt4qxO8FCoFw/?ref=app

4th Jan 2022, 8:24 AM
EsaKurniawan
4 Answers
+ 2
https://stackoverflow.com/questions/63806017/what-does-the-question-mark-mean-in-the-return-statement-in-js // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
4th Jan 2022, 8:50 AM
NEZ
NEZ - avatar
0
It's not the question mark i mean
4th Jan 2022, 8:48 AM
EsaKurniawan
0
Yeah that is what i mean
4th Jan 2022, 8:52 AM
EsaKurniawan