What makes JavaScript an interesting language as it pertains to declarative and imperative languages?(1 point)

Responses

It is declarative.
It is declarative.

It is imperative.
It is imperative.

It can be both imperative and declarative.
It can be both imperative and declarative.

It is neither declarative nor imperative.

3 answers

The correct response is:

It can be both imperative and declarative.

JavaScript supports both programming paradigms, allowing developers to choose the style that best suits their needs for a given task.

Which of the following is a declarative language?(1 point)
Responses

Java
Java

C++
C++

Pascal
Pascal

SQL

The correct response is:

SQL

SQL (Structured Query Language) is a declarative language used for managing and manipulating relational databases, where you specify what you want to achieve without detailing how to achieve it.