How to use parameters to run javascript action

Unsuccessfully tried to use parameters in run JavaScript panel to pass value to JavaScript code. Can someone either help with a very simple sample code, say (alert(“value of param1”)), or point to relevant documentation?

Here it is:

chrome_yfe4hcqjXo

And here is the editor: Tests for Forum 10 | Bubble Editor

Many thanks. Simple and effective. Works as intended, notwithstanding ChatGPT’s own suggestion: :sob: