Skip to content

Articles

  • PakistanJS: Screencast Intro

  • Javascript: Array Reduce

    Here is a simple example of using reduce for adding all values in an array let add = (…args) => { return args.reduce(function(a, b) { return a + b; }, 0); }; let args = [3, 5, 7]; console.log(add(…args)); Clean, right? In regular JS or ES5, you’d do something like: var total = 0; var… Read More »Javascript: Array Reduce

  • Breaking changes from Angular 2 beta to final release candidate

    If you’re using the Angular 2 beta version and want to upgrade to angular 2 final release candidate, it’s a good idea to be aware of the breaking changes from beta to final release. I followed a few youtube tutorials and struggled with it, so here is what i learnt: Most of the content that was… Read More »Breaking changes from Angular 2 beta to final release candidate