DEV Community

Discussion on: Optional (null-safe) in javascript

Collapse
 
ehsansarshar profile image
Ehsan sarshar

there is a babel plugin that can solve your problem
I think it is
@babel/plugin-proposal-optional-chaining

Collapse
 
pichardoj profile image
J. Pichardo

Yeah, I know about it, but the idea is to suggest a solution that doesn't require external plugins.