diff options
| author | theprimeagain <the.primeagen@gmail.com> | 2026-02-04 10:24:24 -0700 |
|---|---|---|
| committer | theprimeagain <the.primeagen@gmail.com> | 2026-02-04 10:24:24 -0700 |
| commit | 1a0363ee23d8aff7162dc96ce2987dcb3cab42f7 (patch) | |
| tree | 9ca7e4a9878079ed83571bd2751a45807ad0315e /scratch | |
| parent | 4b7c22a488f3e637b6d4c09dbc59865956aa396a (diff) | |
| download | a4-1a0363ee23d8aff7162dc96ce2987dcb3cab42f7.tar.xz a4-1a0363ee23d8aff7162dc96ce2987dcb3cab42f7.zip | |
... did we just go viral
Diffstat (limited to 'scratch')
| -rw-r--r-- | scratch/test.ts | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/scratch/test.ts b/scratch/test.ts index a6399f9..c7a13c6 100644 --- a/scratch/test.ts +++ b/scratch/test.ts @@ -1,23 +1,19 @@ - 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); - } + 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() { -} - +const foo2 = () => {}; +const foo = function () {}; function display_text( canvas: HTMLCanvasElement, @@ -25,7 +21,7 @@ function display_text( x: number, y: number, ): void { - // test + // test } function test_again() {} |
