2025年7月10日

摘要: 数据类型 基础类型: String、Number、Boolean、null、undefined、Symbol 存储在栈中,赋值变量和比较均为数据本身。 引用类型:Object、Array、Map、Function 存储在堆中,使用new创建,赋值变量和比较均是内存地址。 检测数据类型 1.typeo 阅读全文

posted @ 2025-07-10 23:53 Minutiae 阅读(49) 评论(0) 推荐(0)