将数据渲染到页面的几种方式:
1.字符串拼接;
2.dom回流
3.文档碎片(文档碎片节点:documentFragment)
4.模板
转载于:https://www.cnblogs.com/yangjingyang/p/10910082.html