Answers for "javascript arrays codeburst"

0

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
Posted by: Guest on May-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language