1. Is JavaScript a synchronous or asynchronous language?
Answer: JavaScript is single-threaded, meaning it executes code line by line in a synchronous manner by default. However, it has asynchronous capabilities through mechanisms like callbacks, Pro...