DEV Community

Discussion on: Optional Chaining may be coming to JavaScript

Collapse
 
caubeen profile image
caubeen

Wow this is awesome. I've wanted this forever. The next thing I would want is this for arbitrary conditionals such as findIndex. If findIndex returns -1 consider it errored.