Created
March 2, 2024 18:02
-
-
Save yurijserrano/675772869b61dd86135df201587acdbb to your computer and use it in GitHub Desktop.
Solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Solution 1 | |
app.get('/data', function(req, res) { | |
res.send('welcome!'); | |
}); | |
// Solution 2 | |
app.get('/data', (req, res) => { | |
res.send('welcome!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment