mercredi 22 juillet 2020

What does this conditional statement do? [duplicate]

I'm working on some javascript legacy code and I came across this conditional, can anyone tell me what does the '?' do? The 'items' property is not part of the currentItem object and it never is...

if (currentItem?.items)

Aucun commentaire:

Enregistrer un commentaire