This wikiHow teaches you how to access Google's script editor in a desktop internet browser and run code in the editor for testing purposes.
Step
Step 1. Open Google Sheets in your internet browser
Type sheets.google.com into your browser's address bar, and press Enter or Return on your keyboard.
Step 2. Click the spreadsheet file
Find the spreadsheet where you want to run the script and open it.
Step 3. Click the Tools tab
It's in the tab bar below the file name in the upper-left corner of your spreadsheet. This will open a drop-down menu.
Step 4. Tap Script editor in the Tools menu
This will open the Google browser-based script editor in a new tab.
Step 5. Create your script in the script editor
You can write your script here or delete everything on the page and copy the code from your clipboard.
If you're looking for a useful script, Google offers some basic advice in their developer guide
Step 6. Name the script project
Click the "Untitled project" heading in the upper-left corner of the page and enter a title for your new script project in the "Rename" field.
Step 7. Click the icon
to run the script.
This button is in the toolbar under the file name and tab bar in the upper-right corner of your window. This will save and run the code in the script editor.