Message from JavaScript discussions

May 2019

— Look for the File System module “fs” and try to read a file, in a asynchronous way.


In node we have some new concepts like Streams and heavy use on callbacks. We can convert those callbacks to a functions returning promises using require(“util”).promisify and then you can use those promises in async functions

— I have a question

— Anyone send me basic JavaScript

— This is a tutorial on YouTube, why does asyncFunction() and asyncFunction2 take time to return a promise if there is no connection with a server so there shouldn't be any delay

Message permanent page

— While loop
Do while
Condition use and function and all

— My ITI exam there in one chapter JavaScript

— What do you mean by “take time”? It literally takes seconds?

— Look at the pinned message. 👍

— I just finished this playlist and now I know how to use promises 🍾

— That's me

— After this playlist