Which of the following is true about JavaScript?
A) JavaScript is a server-side language used exclusively for database management.
B) JavaScript is a client-side scripting language commonly used to create interactive web pages.
C) JavaScript is a markup language used for defining the structure of web pages.
D) JavaScript is a programming language designed for performing heavy computations on the server.