class Event { var type, target; function Event(type, target) { this.type = type; this.target = target; } // End of the function } // End of Class