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