How come codecombat doesn’t have a console.log function because I want to see the value of something.
Instead console.log never works, for example, I tried console.log(x: diffX, y: diffY);
I get this error:
or maybe they could add a this.logInToConsole function to all heroes.
In Zero Sum (and Zero Sum only right now), you can use this.debug as an alias for console.log. It’s pretty limited, and it cuts off after 200 log outputs, but you can log most types of objects.