title: Parsing error: Unexpected character '#' while declaring priavate member in JavaScript class
body: <p>When using '#' to declare a private member in a javascript class, eslint throws an error <code>Parsing error: Unexpected character '#'</code>.</p>
  <p>For eg.</p>
  <pre class="lang-js prettyprint-override"><code>class Test{
    #priavteMember; //Parsing error: Unexpected character '#'
  }
  </code></pre>
  <p><code>eslint</code> configuration: .eslintrc.json</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;env&quot;: {
          &quot;browser&quot;: true,
          &quot;es2021&quot;: true,
          &quot;node&quot;: true
      },
      &quot;extends&quot;: [
          &quot;airbnb-base&quot;
      ],
      &quot;rules&quot;: {
          &quot;no-use-before-define&quot;: &quot;off&quot;,
          &quot;no-param-reassign&quot;: &quot;off&quot;,
          &quot;no-plusplus&quot;: &quot;off&quot;,
          &quot;no-nested-ternary&quot;: &quot;off&quot;,
          &quot;lines-between-class-members&quot;: &quot;off&quot;
      },
      &quot;globals&quot;: {
          &quot;root&quot;: &quot;readonly&quot;,
          &quot;app&quot;: &quot;readonly&quot;,
          &quot;db&quot;: &quot;readonly&quot;
      }
  }
  </code></pre>