Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经阅读了Paul的G-plus 帖子 它主要切换className到classList's API,而我知道className会因为代码触及 dom 而变慢 ,问题是为什么会classList摇晃?简而言之,它是如何工作的?
className
classList