src/index.js
/**
     *
     * @param eventName: string
     * @param consequenceName: string
     */
@param eventName: string
@param consequenceName: string
@param eventName : string @param consequenceName : string
emit(eventName, consequenceName = false) {
        this.checkEventName(eventName, 'emit')
        this.checkConsequenceName(consequenceName)
        if(!this.checkEventRegistered(eventName, false,  'emit')) {
            console.warn('Warning. Emitator.emit(): Event `' + eventName + '` is not registered. Nothing will happen');
        }
        else {
            this.register[eventName].emit(consequenceName)
        }
    }
emit ( eventName , consequenceName = false ) { this . checkEventName ( eventName , 'emit' ) this . checkConsequenceName ( consequenceName ) if ( ! this . checkEventRegistered ( eventName , false , 'emit' ) ) { console . warn ( 'Warning. Emitator.emit(): Event `' + eventName + '` is not registered. Nothing will happen' ) ; } else { this . register [ eventName ] . emit ( consequenceName ) } }
@param eventName: string
 @param consequenceName: string
@param eventName : string @param consequenceName : string