What is the difference between synchronous and asynchronous JavaScript?

Synchronous operations block code execution until completion, while asynchronous operations allow other tasks to run, improving responsiveness.

console.log("Start");
setTimeout(() => console.log("Async"), 1000);
console.log("End");