How to access a nested property, in a safe way (i.e. without throwing a TypeError)
(a.b) ? a.b.c : undefined
Is there a less verbose way, without using a framework ?
How to access a nested property, in a safe way (i.e. without throwing a TypeError)
(a.b) ? a.b.c : undefined
Is there a less verbose way, without using a framework ?