<SCRIPT>
br='<BR>'
document.write(Object.valueOf()+br+br); // Object ³»Àå ±â´ÉÇÔ¼ö  valueOf()

function myReport(name,age){
  document.write(name+' '+age);
}
document.write(myReport.valueOf()+br+br); // »ç¿ëÀÚ Á¤ÀÇ ±â´ÉÇÔ¼ö  valueOf()

var addMemb=new Function('obj','x','obj.total+=x'); // Function constructor¸¦ »ç¿ëÇÏ¿© ±â´ÉÇÔ¼ö »ý¼º
companyData={name:'Trio',phone:'123456789',total:25}; // µ¥ÀÌÅ͸¦ °³Ã¼·Î ¸¸µë(¹è¿­º¯¼ö°¡ ¾Æ´Ï´Ù)
document.write('companyData.valueOf()='+companyData.valueOf()+br);
document.write('companyData.total='+companyData.total+br+br);

addMemb(companyData,2); // ±â´ÉÇÔ¼ö È£Ãâ
document.write(companyData.name+', ÃÑ¿ø='+companyData.total+', ÀüÈ­¹øÈ£='+companyData.phone+br);
document.write(addMemb.valueOf()+br);
document.write(addMemb.toString()+br); // valueOf()¿Í °°´Ù
</SCRIPT>