collamark
obj?.prop – returns obj.prop if obj exists, otherwise undefined. obj?.[prop] – returns obj[prop] if obj exists, otherwise undefined. obj?.method() – calls obj.method() if obj exists, otherwise returns undefined.
source
Terms
Privacy Policy
Contact