Room.prototype.mainChannel = { get:function () { return this._mainChannel; }, set:function(value){ this._mainChannel = value; } }
it's working all right.but another not:
Player.prototype.user = { get:function () { return this._user; }, set:function (value) { this._user = value } }
Here is result when I print "player.user":

I don't konw why.Who can tell me why?Thank you!
Room.prototype.mainChannel = { get:function () { return this._mainChannel; }, set:function(value){ this._mainChannel = value; } }it's working all right.but another not:
Player.prototype.user = { get:function () { return this._user; }, set:function (value) { this._user = value } }Here is result when I print "player.user":

I don't konw why.Who can tell me why?Thank you!