FrontEnd.ro logo
Proprietăți Private

class CreditCard {
  /** ... */

  static #type = 'Credit Card';

  static #getType() {
    return CreditCard.#type;
  }
}