How to run function in brouser

I’m not sure what you’re asking from your post. Are you trying to run this function from the dev console in Chrome?

You can use

Hit F12 or Ctrl + Shift + J, a console window will pop up. Paste your code there.

Not in the console. It should be exactly on the screen

considering you’re using Atom, you could also look into the Atom package called script

Thank you for information

Sorry for stupid question =( I forgot to call the function…

I’m using for testing