diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-17 19:18:49 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-17 19:18:49 -0700 |
| commit | 31f4e492e3af27a19125e0644cacce6a53b07411 (patch) | |
| tree | 5d4146d2c672d743d373148ded4e82919610130e /scratch | |
| parent | 0939da9c65a4918ca20aa823163d1238f47a52d0 (diff) | |
| download | a4-31f4e492e3af27a19125e0644cacce6a53b07411.tar.xz a4-31f4e492e3af27a19125e0644cacce6a53b07411.zip | |
99 is working. now its onto a printf debugging utility
Diffstat (limited to 'scratch')
| -rw-r--r-- | scratch/refresh.lua | 2 | ||||
| -rw-r--r-- | scratch/test.ts | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/scratch/refresh.lua b/scratch/refresh.lua index 1d479ca..e586df4 100644 --- a/scratch/refresh.lua +++ b/scratch/refresh.lua @@ -64,4 +64,4 @@ function create_mark() end -create_mark() +--create_mark() diff --git a/scratch/test.ts b/scratch/test.ts new file mode 100644 index 0000000..ab1c7cf --- /dev/null +++ b/scratch/test.ts @@ -0,0 +1,21 @@ + +function fizz_buzz_classic() { + for (let i = 1; i <= 100; i++) { + if (i % 15 === 0) { + console.log("FizzBuzz"); + } else if (i % 3 === 0) { + console.log("Fizz"); + } else if (i % 5 === 0) { + console.log("Buzz"); + } else { + console.log(i); + } + } +} + +const foo2 = () => { +} +const foo = function() { +} + + |
