고민의 힘을 믿습니다.
<script language=javascript>var a = new Array();var b = new Object();b.name = 'haha'; var c = new Object();c.name = 'hoho'; a[0] = b;a.push(c); document.write( a[1].name ); </script> test
var c = new Object();c.name = 'hoho';
a[0] = b;a.push(c);
document.write( a[1].name );
</script>
test
댓글 없음:
댓글 쓰기