20,741
edits
Line 168: | Line 168: | ||
It is also a good idea to overload settimer/setlistener respectively, to ensure that listeners/callbacks don't leak: | It is also a good idea to overload settimer/setlistener respectively, to ensure that listeners/callbacks don't leak: | ||
{{See also|Developing_and_debugging_Nasal_code#Managing_timers_and_listeners}} | |||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
</syntaxhighlight> | </syntaxhighlight> |