You put `- 1` into this function, which then immediately does `+ 1` inside the JavaScript. Seems simpler to just not do either of them.