DeveloperBreeze

JavaScript Display To-Do List

javascript
// Array representing a to-do list
const todoList = ['Task 1', 'Task 2', 'Task 3'];

// Display the to-do list using the join method
console.log('To-Do List:', todoList.join(', '));

Continue Reading

Handpicked posts just for you — based on your current read.

Discussion 0

Please sign in to join the discussion.

No comments yet. Start the discussion!