Message from JavaScript discussions

April 2019

— So you want to create a webserver?


I want to create admin app which contains functionality like login, is signup, crud operations, then some image uploading

— Do you use Express or Fastify (or something else?)

— Basically i want to learn node js working experience i learn some basics of node and I have good knowledge of JavaScript

Message permanent page

— Are you familiar with async / await?

— I know async await but never used

— I would prefer Fastify because it supports async await and it faster than express. Most express modules also work with fastify

Message permanent page

— It works for me. displayTime is showing a different value every second.

— Yes but does it update newGame.startTime property

— That's what I need to achieve

— Yes it does. But, when your calling the play method it evaluates that expression and passes it like a value. That’s why it never updates that value. But if instead of func you put in the console.log a this.startTime you should see the new value.

If I understood well maybe you want something like => newGame.startTime)

and inside of the console you execute the argument func.

Message permanent page

— Https://