Concatenation mean adding two string or character, addition mean sum of two number, in the following example is explaining the difference of adding two numbers and adding one number and character.
If you put a number in inside a double or single quote the javascript is consider it as a string (not number).
splice in javascript Remove the existing value from the array and return the removed values. In this method original array is affected.Syntax &nb…Read More
Insert value into array We can insert the value into array using following methods. Syntax array.push(value); array.unshift(va…Read More
0 nhận xét:
Đăng nhận xét