From a5466a79a1ade519e4a61106d68e5de4dd132303 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Mon, 29 Apr 2024 19:59:31 +0000 Subject: [PATCH] remove accidental code --- controllers/jsctrl/samples/hello.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/controllers/jsctrl/samples/hello.js b/controllers/jsctrl/samples/hello.js index 0826a84f..e47a346d 100644 --- a/controllers/jsctrl/samples/hello.js +++ b/controllers/jsctrl/samples/hello.js @@ -1,13 +1,6 @@ -function fib(n) { - if (n <= 1) return n - return fib(n - 1) + fib(n - 2) -} - async function main() { await $`Ultimate answer is to the life, universe and everything is ` await gen({ regex: /\d\d/ }) - console.log(`fib(10) = ${fib(30)}`) - await gen({ regex: / [A-Z].*/ }) } start(main)