JS: Add one more test

This commit is contained in:
Asger F
2023-04-27 21:06:20 +02:00
parent 97a942de80
commit 0c8f895e0f
2 changed files with 37 additions and 2 deletions

View File

@@ -15,3 +15,7 @@ function getHandler2() {
return function (req, res){}
}
app.use([getHandler2()]);
function handler3(req, res) {}
let array = [handler3];
app.use(array);