Can anyone may explain me why creating object via string is slower than same object and execute addClass() method in jQuery?
我认为,添加集束(Clas)的方法将比较缓慢,但不是这样。 我很想知道为什么?
http://jsperf.com/jquery-append-with-class-and-with-method-addclass” http://jsperf.com/jquery-append-with-class-and-method-addem。