Class-based vs prototype-based languages

You can read that title as Rest of the world vs Javascript. Note: This is part of Javascript learning roadmap. Subscribe for more weekly web wisdom! Why almost nobody really knows how prototypes work? There are many aspects that makes Javascript stand out, but the prototype model is definitely the most important one. It brought into mainstream … Continue reading Class-based vs prototype-based languages

[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

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