»õ·Î ¸¸µë (New statement) Trio ȨÆäÀÌÁö
object typeÀ» »õ·Î ¸¸µå´Â instance

¹®¹ý
objectname = new objecttype (parameter1 [, parameter2]...[, parameterN])

objectname»ý¼ºµÇ´Â object ÀÇ À̸§
objecttype»ý¼ºµÇ´Â object ÀÇ Á¾·ù
parameters»ý¼ºµÇ´Â object ÀÇ Æ¯¼º(properties)
¼³¸í
»õ·Î¿î º¯¼ö¸¦ ¸¸µå´Â °Í°ú °°ÀÌ »õ·Î¿î objectÀÇ instance¸¦ ¸¸µé±â À§Çϸç new keyword »ç¿ë.

¿¹Á¦ onMouseOver·Î À̹ÌÁö Ç¥½Ã ¿¹Á¦
¿¹Á¦ À̹ÌÁö ÀÚµ¿ º¯µ¿ ¿¹Á¦
¿¹Á¦ µðÁöÅ» ½Ã°£ Ç¥½Ã ¿¹Á¦


ÀÌ Trio ȨÆäÀÌÁö ¹®¼­(http://trio.co.kr/webrefer/js/jsnew.html)´Â ÀÚÀ¯·ÎÀÌ ¿¬°á »ç¿ëÀÌ °¡´ÉÇÔ.