This commit is contained in:
Awen Lelu
2026-01-08 16:25:20 +01:00
commit 1d33c58f02
2 changed files with 50 additions and 0 deletions

19
fizzbuzz/awen_lelu.html Normal file
View File

@@ -0,0 +1,19 @@
<html>
<script>
function ryangosling(n = 1, limit = 100) {
let result = ""
if (n % 3 === 0)
result = result + 'ryan'
if (n % 5 === 0)
result = result + 'gosling'
if (result)
console.log(result)
if (n <= limit)
ryangosling(n + 1, limit)
}
ryangosling()
</script>
</html>