[Feature Request]Allow one-liner JavaScript as well as JSONata

That's human creativity in action! :grin:

Leaving off any bias, this leads to the story of the knifes. People have to learn which end hurts - either by being teached (not just told!) or by personal experience. Yet as we all know, despite this latent danger, we're still using knives - and are occasionally extremely proud when they are laser sharp.

Additionally - e.g. if you're in a production environment - there's always the option to switch off this feature. Alternatively, it might be an idea to opt in this functionality - as it's already the case with a number of others.

Agreed. Still it might be an efficient way to do things - and it's already done:

BTW, this shows up in the editor as