# 冷门知识

# JSON.stringify

原理:调用toJSON()方法

JSON.stringify(); //如果参数为函数,返回值为undefined
1

# 浏览器控制台的$与$$

# Chrome中的用法

$ 的用法相当于 document.querySelector$$ 相当于 document.querySelectorAll

# 浏览器差异

不同浏览器功能可能有所不同

上次更新时间: 9/12/2021, 10:30:35 PM