i have placed this class defining function in my so-called ali-js-tools.js which sits in the 'jsextensions' folder;
i can therefore make a new "jenga" object from whatever js code i write;
now, i would like one of the methods of my class "jenga" to output messages from an outlet of js object whose code created the "jenga" object.
in java you can do this by using the "outlet" method of whatever MaxObject. but how do you do this in js?