TextExpander - evaluating JavaScript

When I write some JavaScript code, I need to run it to see if it works or not. Then I normally go to the browser, open the inspector, and paste the code. Or, in the terminal, run node, and paste the code.

A simple trick I discovered today was to have a JavaScript snippet with the content being just %clipboard. It will run the code in the clipboard and type the result :exploding_head:

2 Likes