Don't set things to `undefined`. Use `null` if necessary. If you really want something to be undefined, `delete` it.