What do you mean by REST API?
An API, or application programming interface, is a set of rules
that
define how applications or devices can connect to and communicate
with each other. A REST API is an API that conforms to the design
principles of the REST, or representational state transfer
architectural style.

Discuss the scope of var, let, and const
In JavaScript, var, let, and const are used to declare variables,
but they have different scopes and behavior. Understanding the
scope of these variable declarations is crucial for writing
reliable and maintainable JavaScript code.
Tell us the use cases of null and undefined
Undefined means the variable has been declared, but its value has
not been assigned. Null means an empty value or a blank value. The
typeof() operator returns undefined for an undefined variable. The
typeof() operator returns the type as an object for a variable
whose value is assigned as null.