this line needs to convert zoomArgs[1] and [2] to int numbers. Replace zoomArgs[1] with `zoomArgs.length > 1 ? (zoomArgs[1] | 0) : null`. Similar to zoomArgs[2]. That will help to remove `x !== undefined` below too