initial commit

- add .gitignore
  - node modules
  - generated js files
- add prettier and eslint configurations
  - prettier: some options configured
  - eslint: js linting disabled
- initialize npm, install packages
- add vscode settings
  - prettier formatting on save disabled
This commit is contained in:
borb
2025-09-23 15:26:20 +03:00
commit 07faf3c274
7 changed files with 1625 additions and 0 deletions

15
main.ts Normal file
View File

@@ -0,0 +1,15 @@
const name = 'Mikko'; // type is inferred as a string
let ageoftheknownuniverseandbeyond = 41; // type is inferred as a number
const rightHanded = true; // type is inferred as a boolean
ageoftheknownuniverseandbeyond = 12412432094509384890389045890389045890348905389045890308945034;
if (ageoftheknownuniverseandbeyond < 4223 && ageoftheknownuniverseandbeyond > 10)
console.log('jeeje');
if (name == 'Mikko' || name == 'Matti') {
console.log('jee');
}
console.log(ageoftheknownuniverseandbeyond);
export {};