Javascript Assignment Operator with Example

Assignment Operator The followings are the assignment operator in javascript: Simple Assignment Additional Assignment Subtraction Assignment Multiplication Assignment Division Assignment Reminder Assignment   Simple Assignment (=) This operator assigns the right operand value to the left operand. var a='apple', b='banana',c='cat'; Additional Assignment (+=) This operator adds the value of the right operand to a variable … Read more Javascript Assignment Operator with Example

How to merge multiple arrays in javascript.

When you want to merge two or more arrays, there are following three ways that you can use. concat method spread operator. merge array using push and unshift 1. concat method concat method is used to merge two or more array and it doesn’t alter any existing array but it returns a new array. 1. … Read more How to merge multiple arrays in javascript.