<p>コンソールをご確認ください</p>
class FruitsEnum {
  static apple = Symbol("りんご");
  static orange = Symbol("みかん");
  static grape = Symbol("ぶどう");

  static {
    this.allFruits = Object.keys(this);
  }
}

console.log(FruitsEnum.allFruits);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.