opiumJS MacOS utility app for running JavaScript snippets Commands / Keyboard shortcuts Command Function ⌘ + R Run snippet ⌘ + K Clear output ⌘ + ⇧ + S Save current snippet ⌘ + ⇧ + R Run snippet and show code coverage Auto-complete code snippets Trigger Snippet fn → function in ES6 syntax fnc → function with console.log() cl → console.log() for → for loop rfor → reverse for loop fore → forEach loop fof → for...of loop if → if statement ife → if/else statement switch → switch case statement sto → setTimeout function si → setInterval function