Quokka.js 是一款讓你可以在編輯器中邊寫 JavaScript 邊觀察執行結果的套件,官網介紹寫得很清楚:
Quokka.js is a rapid prototyping playground for JavaScript and TypeScript. It runs your code immediately as you type and displays various execution results in your code editor.
目前支援的編輯器,除了有 VSCode 之外,還有 Atom 和 JetBrains,直接看動畫來感受一下它的實用之處吧!