blob: c7a13c630fc193790de1dbcd60a3ff0f93aff7d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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 () {};
function display_text(
canvas: HTMLCanvasElement,
text: string,
x: number,
y: number,
): void {
// test
}
function test_again() {}
|