Subj : Adding operator to javascript To : netscape.public.mozilla.jseng From : mikhaylov.andrey Date : Wed Aug 31 2005 07:10 am During development i met the fact that i need to add an operator to javascript which i use as scripting engine in my application. The idea is following - i have some transaction manager, but i want to hide all the details from end-user. I want to create an operator like transaction { .... some code goes here ... } which will incapsulate my transaction manager. Is there any normal way to do that? .