Tag: Cheat Sheet

Javascript – A quick introduction into strict mode

What is strict mode? Strict mode is a new feature added in EcmaScript2015 (the latest version of Javascript). The main purpose is to help the developers write 'more secure' code. When running in strict mode, operations which are considered in the 'to be avoided' category, will cause an error in strict mode. How to run … Continue reading Javascript – A quick introduction into strict mode

[Cheat Sheet] All you need to know about jQuery

Note: This is part of Javascript learning roadmap. jQuery is by far to most popular Javascript library and for good reasons. It's reliable, feature-rich and easy to use. I compiled a list with the most important features of it. You can keep it handy for later use. Usage a single js file which will be referenced in … Continue reading [Cheat Sheet] All you need to know about jQuery

[Cheat Sheet] Javascript – Type Conversion

Note: This is part of Javascript learning roadmap. Object wrappers play an important role in type conversion as well in Javascript. It's important to know the situations where an implicit type coercion is made and what to expect from it. From other data types into number Number() - for all data types +some_value - (unary operator) same … Continue reading [Cheat Sheet] Javascript – Type Conversion

[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