2 ms·
It’s more than simple ternary, for example: `response?.data?.users?[0]` To get the first user from a server response would be significantly longer if you wrote
by robinson7d 7y ago
It’s more than simple ternary, for example:
`response?.data?.users?[0]`
To get the first user from a server response would be significantly longer if you wrote three nested ternary operators.