Operador seguro JavaScript

null?.toUpperCase()
/* null */

const framework = {
 rails: {
   language: 'ruby'
 }
}

framework.rails.language
/* 'ruby' */
framework.rails?.author
/* null */
Mo Lucas