Can I run *any* JavaScript with executeScript?

In the (https://ui.vision/rpa/docs/selenium-ide/executescript#sandbox) [documentation] for executescript, it lists “Useful Javascript snippets.” should I infer from the word “useful“ that any JavaScript code whatsoever could be run from within ui.vision?

Anything that Chrome’s V8 engine or Firefox’s SpiderMonkey engine can run