Javascript Promises

FAST CODE: var readFile= function (path,type){ return newPromise((resolve,reject)=>{ //I KNOW IS CONFUSING BUT THIS IS THE CODE TO MAKE THE .THEN // CHAIN POSSIBLE, EVERY FUNCTION IN THE CHAIN SHOULD…

Continue Reading Javascript Promises

NodeJs Events

  • Post author:
  • Post category:Uncategorized

One of the core concepts in NodeJS is the concept of EVENTS, A lot of core functionalities of Nodejs are based on events, an event is basically a signal that something…

Continue Reading NodeJs Events

GIT AND GIT HUB

Links: https://www.youtube.com/watch?v=HVsySz-h9r4 COMMANDS( Fast ) git init Create a Git repository in the current folder. git status View the status of each file in a repository git add <file> Stage…

Continue Reading GIT AND GIT HUB

NODE.JS under the hood

  • Post author:
  • Post category:Uncategorized

GLOBAL vs WINDOW In Javascript, all the function that are global (like setTimeout or Alert) etc are part of a much larger Object called WINDOW In NodeJS this is not…

Continue Reading NODE.JS under the hood