Console Hands-On 3

PIXELS FIGHTING
Watch these pixels duke it out! 🥊 May the best pixel win! 🏆
Open your console (F12) to see the battle stats! But please don't try to help your favorite pixel win... that would be cheating! 😉
☞ pixelsfighting.com ☜
Too many logs, right.... So... You can override the console.log function to add your own custom behavior. For example, you can swollow all logs and save only the last one. Now check the value of lastLog in the console. You should see the last log message. You can do it again and agian to see the last log message.