Nice, I haven’t noticed this before.
In order to find out why the returned string is reversed you need to do the following:
In the console, type alert(console.log)
or better yet console.log(console.log.toString().split('').reverse().join(''))
to see the function definition.
Apparently it was overridden by a custom one which reverses the output before actually calling the original console.log)
I have no idea why it was done, probably to mess with us during javascript levels or something.
Edit: A search for the function in the site’s code on GitHub reveals the reason in the commit message. Git blame FTW!