Question 1
In the context of JavaScript execution, what is the role of an interpreter?
Correct Answer:
It reads and executes the source code statement by statement at runtime, without producing a separate executable file
Question 2
Which statement best describes the difference between client-side and server-side JavaScript execution?
Correct Answer:
Client-side code runs in the user's browser, while server-side code runs on a host machine such as a Node.js server
Question 3
Which HTML element is used to embed JavaScript code directly within an HTML page?
Correct Answer: