Found excellent article of Richard Cornford:
Javascript Closures
BTW: All principles there apply to TIScript too.
UI and frontend software design and consulting since 1991
Found excellent article of Richard Cornford:
Javascript Closures
BTW: All principles there apply to TIScript too.