ÁöÁ¤µÈ Function °³Ã¼ÀÇ º»¹®¿¡ ÇØ´çÇÏ¸ç ½ÇÇà ÁßÀÎ Function °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
[functionObj.]arguments.callee
¼±ÅÃÀûÀÎ ¿ä¼ÒÀÎ functionObj Àμö´Â ÇöÀç ½ÇÇà ÁßÀÎ Function °³Ã¼ÀÇ À̸§ÀÌ´Ù.
callee ¼Ó¼ºÀº °ü·ÃµÈ ±â´ÉÇÔ¼ö°¡ ½ÇÇàµÉ ¶§¸¸ »ç¿ë °¡´ÉÇÑ arguments °³Ã¼ÀÇ ±¸¼º¿øÀÌ´Ù.
callee ¼Ó¼ºÀÇ Ãʱ⠰ªÀº ½ÇÇà ÁßÀÎ Function °³Ã¼À̹ǷΠÀÍ¸í ±â´ÉÇÔ¼ö¸¦ ¹Ýº¹ÇÒ ¼ö ÀÖ´Ù.
callee ¼Ó¼ºÀº ±â´ÉÇÔ¼ö ¼Ó¿¡¼¸¸ »ç¿ëÀÌ °¡´ÉÇÏ´Ù.
±â´ÉÇÔ¼ö ¼Ó¿¡¼ arguments¸¦ this ¹®ÀåÀ¸·Î ÂüÁ¶ÇÒ ¼ö ¾øÀ¸¹Ç·Î arguments.callee·Î È£ÃâÇÏ¿©¾ß ÇÑ´Ù.
<SCRIPT> function calleeTest(numb){ // ±â´ÉÇÔ¼ö¸¦ ½ÃÀÛÇÑ´Ù. if (numb<=0) return arguments.callee.length // callee ±æÀÌ else return arguments.callee; // callee ³»¿ë, ±â´ÉÇÔ¼ö } // ±â´ÉÇÔ¼ö Á¾·á document.write('calleeTest(0) :<BR><font color=blue>'+calleeTest(0)+'</font><BR>'); document.write('calleeTest(4) :<BR><font color=blue>'+calleeTest(4)+'</font><BR>'); document.write('calleeTest(9) :<BR><font color=blue>'+calleeTest(9)+'</font><BR>'); </SCRIPT>