1.Primitive Types of Javascript: Javascript divided into two parts that one is primitive and another is a reference type. Primitive value has no object and method. There are some primitive values that are given below: String, Number, BigInt, Boolean, Null, Undefined, Symbole Without the above values, all rest values are known as a reference…