Posts tagged Operators
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.
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.


I am
Recent Comments