javascript一些原生方法记录
Element.scrollIntoView()
Element 接口的 scrollIntoView()
方法会滚动元素的父容器,使被调用 scrollIntoView()
的元素对用户可见。
structuredClone() 方法
Window 接口的 structuredClone()
方法使用结构化克隆算法将给定的值进行深拷贝。
Element 接口的 scrollIntoView()
方法会滚动元素的父容器,使被调用 scrollIntoView()
的元素对用户可见。
Window 接口的 structuredClone()
方法使用结构化克隆算法将给定的值进行深拷贝。