FQA Question And Answer

var :

Variables declared with var are function-scoped. This means they are accessible within the function in which they are declared, regardless of block boundaries.

let :

Variables declared with let are block-scoped. This means they are accessible only within the block in which they are defined.

const :

Variables declared with const are also block-scoped.

null :

null is a primitive value that represents the intentional absence of any object value or a "null" object pointer.

undefined :

undefined is a primitive value that represents an uninitialized or non-existent value. It is automatically assigned to variables and object properties that have not been assigned a value.

REST stands for Representational State Transfer. A RESTful API (Application Programming Interface) is an architectural style for designing networked applications. It is based on a set of principles and constraints that focus on making systems scalable, stateless, and easy to maintain. RESTful APIs use HTTP requests to perform CRUD (Create, Read, Update, Delete) operations on resources.