function printProperties(obj) { var properties = ''; for (var prop in obj){ properties += prop + "=" + obj[prop] + "\n"; } document.write(properties); }
0 件のコメント:
コメントを投稿