-
Notifications
You must be signed in to change notification settings - Fork 3
Concat
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:
let fruits = ['Apple', 'Orange', 'Grape'];
let vegs = ['Broccoli', 'Carrot', 'Potato'];
let fruitsAndVegs = fruits.asEnumerable().concat(vegs).toArray();
console.log('*** Cancat method combines both fruits and vegs into one array ...');
for (let index = 0; index < fruitsAndVegs.length; index++)
console.log(fruitsAndVegs[index]);