JavaScript in and delete operators
In this post I will describe in and delete JavaScript operators. Operator in can be used to check if given object has given property: var obj... »
In this post I will describe in and delete JavaScript operators. Operator in can be used to check if given object has given property: var obj... »
In this post I will describe what is variable hoisting in JavaScript. But before we go into detailed explanations let’s look at a few code examples.... »
Let’s start with C#. In C# nulls may show up in switch statement in two cases: We switch on string type We switch on nullable char,... »
Today I want to present two useful methods: toString and valueOf. Both of these methods are used by JavaScript interpreter when converting objects to primitive types.... »
Java and JavaScript have a common feature that allows us to break out of nested loops, e.g. in Java we may write: OUTER_LOOP: for (int i... »