function Channel(channel, messageInstance) {
    // copy my location
    this.name = channel;
    this.createdOn =  new Date();
    this.createdBy= currentLocation.what3words;
    this.starred = true;
    this.expiresIn= 15;
    this.messageCount = 2424;
    this.messages= [];
}
/** New:
 * #8 This #constructor function creates a new channel object.
 * @param channel `String` the new channel name
 * @param messageInstance `New messageObject
 * @constructor
 */
#8 This #constructor function creates a new channel object.
@param channel `String` the new channel name
@param messageInstance `New messageObject
@constructor
#8 This #constructor function creates a new channel object . @param channel ` String ` the new channel name @param messageInstance ` New messageObject @constructor
function Channel(channel, messageInstance) {
    this.name = channel;
    this.createdOn =  new Date();
    this.createdBy= currentLocation.what3words;
    this.starred = true;
    this.expiresIn= 15;
    this.messageCount = 2424;
    this.messages= [];
}
function Channel ( channel , messageInstance ) { this . name = channel ; this . createdOn = new Date ( ) ; this . createdBy = currentLocation . what3words ; this . starred = true ; this . expiresIn = 15 ; this . messageCount = 2424 ; this . messages = [ ] ; }
New:
 #8 This #constructor function creates a new channel object.
New : #8 This #constructor function creates a new channel object .
// copy my location