• JavaScript Operators

    February 5, 2020

    JavaScript operators are symbols that are used to perform operations on operands. For example: var sum=10+20; Here, + is the…

  • JavaScript promises

    August 9, 2019

    Promises let you code asynchronously with ease, without having to resort to nasty callback functions & events. Here’s a small example: var promise = new Promise(function(resolve, reject) { // Do something async here (e.g. an xhr call) // Depending on the outcome of your operation, you either resolve or reject // the promise. // Let’s […]