class ClassWithStaticMethod {

  static staticProperty = "someValue";
  static staticMethod() {
    return 'static method has been called.';
  }

}

console.log(ClassWithStaticMethod.staticProperty);
// output: "someValue"
console.log(ClassWithStaticMethod.staticMethod());
// output: "static method has been called."

class ClassWithStaticMethod {

  static staticProperty = 'someValue';
  static staticMethod() {
    return 'static method has been called.';
  }

}

console.log(ClassWithStaticMethod.staticProperty);
// output: "someValue"
console.log(ClassWithStaticMethod.staticMethod());
// output: "static method has been called."

Update property value to include single quotes
Update property value to include single quotes

Co-authored-by: Michael[tm] Smith <a17fed27eaa842282862ff7c1b9c8395a26ac320@w3.org>