We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058f097 commit a5466a7Copy full SHA for a5466a7
controllers/jsctrl/samples/hello.js
@@ -1,13 +1,6 @@
1
-function fib(n) {
2
- if (n <= 1) return n
3
- return fib(n - 1) + fib(n - 2)
4
-}
5
-
6
async function main() {
7
await $`Ultimate answer is to the life, universe and everything is `
8
await gen({ regex: /\d\d/ })
9
- console.log(`fib(10) = ${fib(30)}`)
10
- await gen({ regex: / [A-Z].*/ })
11
}
12
13
start(main)
0 commit comments