Cheat a game to Add time or score to JavaScript game [closed]

It might be cheating but is their a way to add time using a game that was built with JavaScript. It’s just simple word search game. But I want to know if theirs a way to use a function that updates the timer in the browser’s console? If people are curious then let me know to show the function code