constructor(val) {
    super();
    if (this.nodeName) {
      this.val = !!val;
    } else {
      return new Boolean(val);
    }
  }
Initialize a new `Boolean` node with the given `val`.

@param {Boolean} val
@api public