Skip to content

Commit

Permalink
Fix function declaration syntax in Node.js security cheat sheet (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
aemzayn authored Jan 16, 2025
1 parent e3f43eb commit 31c4876
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cheatsheets/Nodejs_Security_Cheat_Sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ func1("input1")
And using async/await:

```JavaScript
function async func1(name) {
async function func1(name) {
// operations that takes a bit of time and then resolves the promise
}
function async func2(name) {
async function func2(name) {
// operations that takes a bit of time and then resolves the promise
}
function async func3(name) {
async function func3(name) {
// operations that takes a bit of time and then resolves the promise
}
function async func4(name) {
async function func4(name) {
// operations that takes a bit of time and then resolves the promise
}

Expand Down

0 comments on commit 31c4876

Please sign in to comment.