This does nothing. I think you want `this.text = text.trim();`