Congratulations! You found the hidden examples page!
Here are some examples of DreamBerd in action!
Hello world?
const var i: Int!
when (i % 3 = 0 && i % 5 = 0) "FizzBuzz"?
else when (i % 3 = 0) "Fizz"?
else when (i % 5 = 0) "Buzz"?
else i?
when (i < 20) i++!
i = 0!
functi fibonacci (n) => {
const var sum = 1!
const var i = 0!
when (i < n) {
sum += sum + previous sum!
i++!
}
}
when (i < 10) {
fibonacci(i)?
i++!
}
const var count = 0!
var const Button = <button></button>!
when count Button.textContent = Count: £{count}!
Button.addEventListener click => count++!
document.body.append Button!
delete null!
c