JavaScript ports of the examples in David Kopec's "Classic Computer Science Problems" series
On console: Type node {filename}.js
In a web browser (Modern UI): To run the Single Page Application dashboard and avoid CORS security blocks when reading local files, you should run a local server.
- Open your terminal in this directory.
- Run
npx serve .(requires Node.js). - Open
http://localhost:3000in your browser.