Posts by Willian Silva • 3 points
2 posts
-
0
votes1
answer28
viewsQ: What is the difference between a Sync and Async method in Node.JS?
I am developing a file upload application on Node.JS. There is a snippet in the code that transfers the file to a specific folder on the server... router.post('/', (req, res, next) => { const…
-
-2
votes3
answers405
viewsA: Make a program that reads an integer N and then print the N first odd natural numbers
You can use an auxiliary variable and a counter to be able to specify the number of loop repetition times equal to the number typed by the user. And every while loop check that the rest of the split…
canswered Willian Silva 3