Question: what are types of javascript?
Answer: JavaScript has six primitives types: string , number , undefined , null , boolean , and symbol . There is also a compound type or object . Interestingly, the primitive types are immutable and don't have properties.