°³Ã¼¸¦ ¸¸µå´Â ±â´ÉÇÔ¼ö¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
object´Â ÇʼöÀûÀÎ ¿ä¼ÒÀÌ¸ç °³Ã¼ ¶Ç´Â ±â´ÉÇÔ¼ö(function) À̸§ÀÌ´Ù.
constructor ¼Ó¼ºÀº Ãʱ⠼³Á¤À» °¡Áö´Â ¸ðµç Ãʱ⠼³Á¤ °³Ã¼ÀÇ ±¸¼º¿øÀÌ´Ù.
ÀÌ ¼Ó¼ºÀº Global °³Ã¼¿Í Math °³Ã¼¸¦ Á¦¿ÜÇÑ ¸ðµç Javascript ³»À尳ü¸¦ Æ÷ÇԵȴÙ.
±×¸®°í constructor ¼Ó¼ºÀº ƯÁ¤ °³Ã¼ÀÇ ÀνºÅϽº¸¦ ±¸¼ºÇÏ´Â ±â´ÉÇÔ¼ö¿¡ ´ëÇÑ ÂüÁ¶¸¦ Æ÷ÇÔÇÑ´Ù.
constructor ¼Ó¼ºÀº °³Ã¼ÀÇ prototypeÀ¸·Î ºÎÅÍ ¼Ó¼ºÀ» »ó¼Ó¹ÞÀ¸¹Ç·Î new ¿¬»êÀÚ·Î ÇÏ¿©±Ý »ý»ýÇÒ ¼ö ÀÖ°Ô ÇØ ÁÖ´Â °ÍÀÌ´Ù.
constructor ¼Ó¼ºÀ» º¸¸é ¾î´À ±â´ÉÇÔ¼ö·Î »ý¼ºÇß´ÂÁö¸¦ ¾Ë ¼ö ÀÖ´Ù.
constructor ¼Ó¼ºÀ» ÀÌ¿ëÇÏ¿© µÎ°³ÀÇ °³Ã¼¸¦ ºñ±³ÇÒ ¼öµµ ÀÖ´Ù.
<SCRIPT> var br='<BR>'; function myFunction(a,b){c=a+b;return c+br}; document.write('myFunction(100,200)='+myFunction(100,200)); document.write('myFunction.constructor='+myFunction.constructor+br); document.write('myFunction='+myFunction+br); </SCRIPT>