js的数据类型,深拷贝和浅拷贝的原理,loda实现一个深拷贝
摘要:js的数据类型分为:简单类型 和 复杂类型;简单类型:string, number, null, undefined, Symbol复杂数据类型:function, array, object, Date, Math, 正则 简单数据类型是存储在栈中,复杂数据类型存储在 堆中;堆的空间比栈的空间大;
阅读全文
posted @ 2021-03-23 18:50
posted @ 2021-03-23 18:50
posted @ 2021-03-08 10:08
posted @ 2021-03-02 19:54