var obj = { val: '', valueOf: function() { if (!this.val) { this.val = 'a' return 'a' } else if (this.val === 'a') { this.val = 'b' return 'b' } else if (this.val === 'b') { this.val = '' return 'c' } }}
var obj = { val: '', valueOf: function() { if (!this.val) { this.val = 'a' return 'a' } else if (this.val === 'a') { this.val = 'b' return 'b' } else if (this.val === 'b') { this.val = '' return 'c' } }}