簡單類型和複雜類型

原始數據類型: number,string,boolean,undefined, null,object (注意是小寫的,寫成大寫的話,可能就是對象了) 基本類型(簡單類型),值類型: number,string,boolean 複雜類型(引用類型):object 空類型:undefined,null 值類型的值在哪一塊空間中存儲? 棧中存儲 引用類型的值在哪一塊空間中存儲?對象在堆上存儲,地址在
相關文章
相關標籤/搜索