javascript arrays codeburst
var elements = ['Task 1', 'Task 2', 'Task 3'];console.log(elements.join());// expected output: Task 1,Task 2,Task 3console.log(elements.join(''));// expected output: Task 1Task 2Task3console.log(elements.join('-'));// expected output: Task 1-Task 2-Task 3