![]() ![]() This step is IMPORTANT if you want to stop the game later and needs to be done before you reset the gameOver function.įunction dispatchKey ( type, key ), Runner. ![]() Output errors using console.warning () & console.error () I bet you’re using console log as a debugger for your web app projects. We store the original game over function in a variable. Here are 10 of the top browser console hacks that will make you (or your dev’s) life much easier: 1. If you see undefined after entering a command correctly, don’t worry that is expected (for those who want to know more, it is the return type of the function we called).įollow the commands to make the dino un-killable. Hacking The JavaScript Guess what, you can also add javascript To do so, click the Console tab. This is where we will enter the commands to tweak the game.Īfter every command press enter. Right click anywhere on the page and select Inspect. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |