A value which you want duplicate nothing but copy of an array or value you can use duplicate function which is user defined function in javascript
Ex:
var a = [1,2,3,4,5];
If i want to get duplicate this array there is no function in javascript so now i am using user defined javascript function in Array.
we have Array in javascript by using this we can move forward
good..
ReplyDelete