title: Why is this class method, with a string name, not enumerable?
body: <p>My class has a method whose name is a string. But it seems not enumerable! Even <code>Object.getOwnPropertyNames</code> doesn't work. So, how do I get the method name/key?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>class MyClass {
      'hello/world'() {
          console.log("You just called 'hello/world'");
      }
  }
  
  const my = new MyClass();
  
  // For in loop
  let keys = [];
  
  for (let key in my) {
     keys.push(key);
  }
  
  console.log('For in loop: ' + keys);
  
  // Object.getOwnPropertyNames
  console.log('Object.getOwnPropertyNames: ' + Object.getOwnPropertyNames(my));
  
  // Call the method
  my['hello/world']();</code></pre>
  </div>
  </div>
  </p>