Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

December 28, 2009

1 Comment


How to differentiate Addition Operator with Concatenation Operator in Javascript

All we know about Concatenation operator (+) in JavaScript which combine two string with "+" operator in JavaScript(If you want to do concatenation in PHP than use "." character between two strings). Problem creates when you want to do addition of two JavaScript variables.

December 22, 2009


The Ternary Operator – Working same as If-Else

We know, in programming there are three operators named Unary Operator , Binary Operator and Ternary Operator. Operator’s name itself says that if it is a Unary Operator(e.g. Increment – Decrement operators) than it will take only one operand, If it is Binary operator(e.g. Relational operators) than it will take two operands and if it is Ternary operator than it will take three operands.