How to upgrade to latest Angular CLI

To check which version of Angular CLI is installed on your machine, run the command ng –version as shown in the image below: As you see that on my development machine, Angular cli version 1.0.0 is installed. At the time of writing of this post, latest version of Angular CLI was 1.1.3. To upgrade to … Continue reading How to upgrade to latest Angular CLI

Advertisements

JavaScript Interview Day # 3: what is arguments object in a function

I am very sure that in JavaScript interviews, you must have gone through discussions on functions. It is obvious because functions are very core of JavaScript. Whenever there is a discussion on functions, discussion on arguments object is mandatory. If you do not understand, how arguments works, you do not understand how functions works in … Continue reading JavaScript Interview Day # 3: what is arguments object in a function

JavaScript Interview Day # 2: Can you explain undefined and null

Have they ever asked you? “Can you explain null and undefined in JavaScript?” This question is very trivial but important. As a JavaScript developer, you must have absolute understanding on undefined and null. Let us start by looking at code below: https://gist.github.com/debugmodedotnet/62fc783b3dd79f3feec4b6c87f04d077 Output of above code listing would be “undefined” as shown in the image … Continue reading JavaScript Interview Day # 2: Can you explain undefined and null