sass
- @mixin 声明 @include 使用
- @import
- 声明变量 $
- @extend 继承父类的css
- @media 冒泡
- 数字函数 abs
基础数据类型
null undefined number string boolean symbol 栈
array function object 堆 引用地址存在栈里
null / undefined
首先是对象才需要深拷贝
如果在weakmap中有存obj if(hash.get(obj)) return hash.get(obj)
let cloneObj = new obj.constructor()
hash.set(obj, cloneObj)
循环引用 hash = new weakMap()