title: String.matchAll is undefined
body: <p>I am creating a package in node to parse and manipulate csv and needed to use <code>String.matchAll()</code> and I got an error saying <code>str.matchAll is not a function</code>. I tried switching to <code>str.match()</code> and got the same error. I tried to console.log each and both returned undefined. I typed <code>node -v</code> into the visual studio code powershell and it spat out v10.16.3 </p>
  
  <p>my code </p>
  
  <pre><code>fs = require('fs');
  
  class Table {
      //the function I needed it for
      removeRow(header, value){
          let regLine = "";
          for(let i=0; i&lt;this.colArr.length; i++){
              if (this.colArr[i][0]==header){
                  regLine+=value+",";
              }else{
                  regLine+=".*,"
              }
          }
          regLine = "\n"+regLine.substring(0,regLine.length-2)+"\n";
          let regex = new RegExp(regLine);
  
          let removed = this.text.matchAll(regex);//this line
          let newText = this.text.replace(regex,"\n");
          fs.writeFile(this.link, newText);
          this.update();
          return removed;
      }
  }
  </code></pre>
  
  <p>At the line marked it throws the error <code>this.text is not a function</code> I console.logged <code>typeof(this.text)</code> and it gave string so I don't know whats going on</p>