There are times when you need to run some code on your page to see how some changes would look. Or maybe just mess about on a friends computer. Nevertheless you might not be able to do all your console operations with just one line at a time.
So how do you run multiple lines of code in the Chrome debugger console?
Turns out you can just create a function:
And once you have declared your function, you run it.
No comments:
Post a Comment