You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yasser Moradi edited this page Aug 26, 2015
·
1 revision
Description:
Concatenation is the act of combining the elements from two sequences into one larger set of data
Samples:
letfruits=['Apple','Orange','Grape'];letvegs=['Broccoli','Carrot','Potato'];letfruitsAndVegs=fruits.asEnumerable().concat(vegs).toArray();console.log('*** Cancat method combines both fruits and vegs into one array ...');for(letindex=0;index<fruitsAndVegs.length;index++)console.log(fruitsAndVegs[index]);