Workaround a closure bug where it doesn't produce the right code ES6 operator when the array value can be undefined.