In JavaScript, you can define your own arithmetic operators by overloading the existing ones. This is done using the built-in Symbol function to define a new symbol for your custom operator. Here'...
Tuesday, 01 September 2015
One of the key concepts of every programming language is the Scope. In JavaScript, variable and function scope is a little bit different and so cool! you can have multiple var (variable) in a function...
Sunday, 09 March 2014
JavaScript, by default does not come with built-in namespace or class but as it's extremely a flexible language you can create namespace in JavaScript by object literals. Based on wikipedia defini...
Saturday, 01 March 2014
JavaScript is a prototypical based language. In JavaScript objects are pairs of keys and values and these keys are Strings. Rather than keys and values, JavaScript objects have one another attrib...
Friday, 27 December 2013