var obj = {}; Object.extend( obj, { a: 1 } );
<html> <div id="d1">a</div> <div id="d2">1</div> </html>
87,910
社区成员
224,616
社区内容
加载中
试试用AI创作助手写篇文章吧