the original question has a=, you have a+=
They're using the version from the top comment, not the post. It also switches the pre-increment to post-increment.
I was just replying to the comment ¯\_(ツ)_/¯
They're using the version from the top comment, not the post. It also switches the pre-increment to post-increment.