Perhaps this proposal might fit with what you had in mind:
https://esdiscuss.org/topic/proposal-for-a-null-coalescing-operator Been meaning to clean this up and submit it as an actual proposal since the idea is kind of simple: https://github.com/sirisian/ecmascript-null-coalescing-operator _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss