基础数据类型:
null, undefined, boolean, number, string, symbol, bigint
null
undefined
boolean
number
string
symbol
bigint
引用数据类型:
Object (Function, Array, Date等等)
Object
Function
Array
Date
存储方式:
基本数据类型:存在栈中
引用数据类型:存在堆中(指针在栈中,值在堆中)