Chapter 12: move Chapter13 to Chapter12

This commit is contained in:
Beth Griggs
2020-11-10 01:35:45 +00:00
parent be3ada6586
commit 473d903805
40 changed files with 0 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const express = require("express");
const router = new express.Router();
router.get("/", (req, res) => {
res.send(recursiveContent());
});
function recursiveContent(content, i = 15) {
--i;
if (i !== 0) {
return recursiveContent(content, i);
} else {
return content.undefined_property;
}
}
module.exports = router;