News

One of the features of JavaScript is the ability to create a mixin: An object that combines the functionality of several other objects. Mixins are one strategy for avoiding the problems associated ...
In my example, I'll create a simple XPCOM component with JavaScript that exposes one method ... is the reverseIt() method on the nsMyComponent class. The rest of the code is required to make ...