Categories
Tutorials

Use Recursive Types in Typescript

Interface is such a nice feature in Typescript for custom static type checking. Main reason is to make your code less error prone but I use it primarily for intellisense. Today we will be discussing recursive types. I need to modal the accordion in HTML using following object. { title: “Parent”, expanded: true, subItems: [ […]

Categories
Tutorials

Challenges with JavaScript date and Ionic ion-datetime

Dealing with JavaScript has never been easy for me. In JavaScript Today’s date is represented as 2017-11-23. It’s December but no where you can find 12 in it. That’s because months in JavaScript starts from “Zero”. That’s first confusion for you. Ionic comes with ion-datetime component which lets you easily choose date and time. With native UI and feel for your […]

Categories
Opinions

Coding Activities for Week 07 2017

Well this series that I have just planned (out of nowhere) is more than a coding activity. Here I will document my normal day while working as a front end web developer. Coding: Looking at the graph, it started to elevate and satisfied my 3 hours pure coding commitment for just two days but didn’t […]

Categories
Opinions

How To Reverse A String In JavaScript

JavaScript algorithm like how to reverse a string is a well know JavaScript Challenge. Solving it will really teach you different techniques of JavaScript string manipulation. In this article, we will be going through all the steps involved in successfully outputting a “Hello World” in its reversed form as “dlroW olleH”. So let’s get cracking. Problem The […]

Categories
Links

Link: JavaScript Cheat Sheet

I have come across a resource that I wouldn’t only consider a cheat sheet, a reference but also a refresher. Previously we had to rely on utility libraries like underscore and lodash in order to extend JavaScript built functionalities but  with ES6, ES6 and ES7 (new version of Standardized JavaScript or EcmaScript, EcmaScript is the standard where […]