javascript 3e 3e google script array concat doesn 27t work

Solutions on MaxInterview for javascript 3e 3e google script array concat doesn 27t work by the best coders in the world

showing results for - "javascript 3e 3e google script array concat doesn 27t work"
Lucia
06 Jan 2020
1Javascript >> Google Script array concat doesn't work from javascript by Clear Civet on Mar 11 2020
2const array1 = ['a', 'b', 'c'];
3const array2 = ['d', 'e', 'f'];
4const array3 = array1.concat(array2);
5
6console.log(array3);
7// expected output: Array ["a", "b", "c", "d", "e", "f"]
8// console.log and Logger.log do not show array structure. Use JSON.stringify to see correctly.
9Logger.log(JSON.stringify(array3));  // expected output: Array ["a", "b", "c", "d", "e", "f"]