constructor() {
    this.node = null;
  }
Get round nested ternary operator

<header>{
  accept()
   .when( a == 1, <h1>Case 1</h1>)
   .when( a == 2, <h1>Case 2</h1>)
   .otherwise( <h1>Case 3</h1>)
   .render()
 }</header>