summaryrefslogtreecommitdiff
path: root/scratch
diff options
context:
space:
mode:
authortheprimeagain <the.primeagen@gmail.com>2026-02-04 10:24:24 -0700
committertheprimeagain <the.primeagen@gmail.com>2026-02-04 10:24:24 -0700
commit1a0363ee23d8aff7162dc96ce2987dcb3cab42f7 (patch)
tree9ca7e4a9878079ed83571bd2751a45807ad0315e /scratch
parent4b7c22a488f3e637b6d4c09dbc59865956aa396a (diff)
downloada4-1a0363ee23d8aff7162dc96ce2987dcb3cab42f7.tar.xz
a4-1a0363ee23d8aff7162dc96ce2987dcb3cab42f7.zip
... did we just go viral
Diffstat (limited to 'scratch')
-rw-r--r--scratch/test.ts30
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() {}