Author: WeeklyWebWisdom

Javascript – Object Wrapper for Primitives

Note: This is part of Javascript learning roadmap. Duration: 2-3 minutes Level: beginner Objective: Understanding how helper function can be used on primitives in Javascript The confusion The primitives data types in Javascript are number, string, boolean, undefined and null. They are immutable (incapable of being changed) and passed by value. One of the most common … Continue reading Javascript – Object Wrapper for Primitives

ECMAScript 6 – The features that are worth remembering

Javascript 6 (or by the official name ECMAScript2015) has brought a handful of features that are worth looking into. Most of them provide more elegant and intuitive ways of doing things that were possible in the old versions of Javascript. Even though they are far from being fully supported in the modern browsers, there are … Continue reading ECMAScript 6 – The features that are worth remembering

[Cheat Sheet] Javascript – Operators

Note: This is part of Javascript learning roadmap. Unary operators operators that work only on one value increment/decrement (++ / -- )  these operators have 2 versions: prefix the operator is put before the variable the increment/decrement is made before the rest of the operation is evaluated postfix the operator is put after the variable the … Continue reading [Cheat Sheet] Javascript – Operators

[Cheat Sheet] Javascript – Equality

Note: This is part of Javascript learning roadmap. the most important aspect of equality in JS is understanding the difference between strict equality comparison (=== or !==) and abstract equality comparison (== or !=)  Strict equality (=== and !==) neither value is implicitly converted - if the values have different types, the values are considered unequal … Continue reading [Cheat Sheet] Javascript – Equality