Chapter 9: Malicious input samples

This commit is contained in:
Beth Griggs
2020-09-06 04:54:04 +01:00
parent 4ff32a28b3
commit 6434079c3d
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -10,11 +10,10 @@ app.get("/", (req, res) => {
});
});
app.listen(3000, () => {
console.log("Server listening on port 3000");
});
asyncWork = (callback) => {
setTimeout(callback, 0);
};
app.listen(3000, () => {
console.log("Server listening on port 3000");
});
+3 -4
View File
@@ -8,11 +8,10 @@ app.get("/", (req, res) => {
});
});
app.listen(3000, () => {
console.log("Server listening on port 3000");
});
asyncWork = (callback) => {
setTimeout(callback, 0);
};
app.listen(3000, () => {
console.log("Server listening on port 3000");
});