Demonstration on javascript and typescript
npm install -g typescript ts-loader
npm install -g webpack
Go to the TypescriptProject directory.
Run: tsc maths.ts
Launch the site by opening the TS_Base.html file in your browser.
Launch the site by opening the JS_Base.html file in your browser.
To edit the program, modify JavascriptProject/content.js