Javacript techniques: Fallbacks when destructuring nullable objects