title: Typescript: Add empty string to an array
body: <p>I have an array of strings and in Input set method after checking some condition I want to add empty string </p>
  
  <pre><code>public tableData: any[] = [];
   @Input()
       set maxLengthArray(value) {
          this._maxLengthArray=value;
          while (some condtion) {
              this.tableData.push('');
              someValue--;
          }
       }
  </code></pre>
  
  <p>Reason I want to add empty string is, I'm displaying tableData values in a table  and want to display empty rows for empty strings. But empty strings are not getting added into the array. How to add it? Please suggest</p>