JavaScript Hello

Hello World in JavaScript


This Shortcut is the "Hello World!" of Shortcuts using JavaScript.

Feel free to use this as a template for any Shortcut in which you wish to use JavaScript.

Note the JavaScript must be synchronous to work. Shortcuts will not wait for any async functions, Promises, intervals, or timeouts.

Latest Release Notes

1.2 - Sept. 9, 2022, 4:14 a.m.

- Use JavaScript strict mode.
- Declare HTML UTF-8 encoding.

Version history