I think this will be a really good addition to the language. Very often I face situations where I would have to use multiple && . This will be an elegant way to handle such situations.
For time being I use idx which comes as a babel transform.
I really like the new syntax, however, I am not a fan of using drafts in productive applications, that's why I will wait until it is released.
const Option = require('roption-js'); // Rusty Optional Monads rock!
const bar = Option.fromGuess(// logic around JS's stupid OddBall type
APICall()
.result
?.foo
?.bar
).or('default_value');// just stay functional
Riki Fridrich
I'm so good that I'm my own idol.
I got used to this feature from Coffee Script. It really makes working with complex data structures effortless. This is the feature I miss the most in ES6.