¸Þ¼µåÀÇ ¼Ó¼º¿¡ °ü¸®Á¡(watchpoint)À» Ãß°¡Çϰųª, Á¦°ÅÇÑ´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
watch ¸Þ¼µå´Â °¢ Á¾¼Ó°³Ã¼¿¡ ¸ðü °³Ã¼(Object)·ÎºÎÅÍ »ó¼ÓµÇ°í, ¸Þ¼µåÀÇ ¼Ó¼º¿¡ °ü¸®Á¡(watchpoint)À» Ãß°¡ÇÑ´Ù.
ÀÌ °ªÀÌ ÁöÁ¤µÇ¸é ±â´ÉÇÔ¼ö¸¦ È£ÃâÇÏ¿© °ü¸®Á¡¿¡¼ ÇÒ´çµÈ °ªµéÀ» º¸°í ÇÊ¿äÇÏ¸é ¼öÁ¤ÇÒ¼ö ÀÖ°Ô ÇØ ÁØ´Ù.
unwatch ¸Þ¼µå´Â ÁöÁ¤ÇÑ ¼Ó¼ºÀÇ °ü¸®Á¡(watchpoint)À» Á¦°ÅÇÑ´Ù.
Netscape¿¡¸¸ ÀÖ°í, Explorer¿¡´Â ÀÌ ±â´ÉÀÌ ¾ø´Ù.
¿¹Á¦¿¡¼ flowersÀÇ name ¼Ó¼ºÀ» °ü¸®ÇÑ´Ù.
¸¸ÀÏ ÀÌ name ¼Ó¼ºÀÇ °ªÀÌ 'Àå¹Ì'·Î µÇ¾î ÀÖÀ¸¸é 'Rose'·Î º¯°æÇÑ´Ù.
{...} °ýÈ£·Î ¹ÀÎ ºÎºÐÀÌ handlerFunction Àμö¿¡ ÇØ´çÇÏ°í À̸§Àº myfunctionÀÌ´Ù.
flowers={name:'Lily'}; flowers.watch('name',myfunction(objProperty,oldval,newval){ if (newval=='Àå¹Ì') newval='Rose'; return newval; } )