How to make a JavaScript dropdown menu!

function () {
alert("Yay! JavaScript menu!")
return {
"Option 1" : "Option 1",
"Option 2" : "Option 2"

Replace the alert function with your own code, and replace Option 1 and Option 2 texts with what you want the menu to display.

Example (Yes I know it's rude)

How do I change it to say my own things, dont get how.

Where is option one?

Are you talking about the console on a computer browser? I’m on ipad. Rip.

Make a block, make an input in it, have this open:
Screenshot (229)
tap on the gear, tap on "options", and put the function () { ... } text in it.

Oh ok.