text: const Account = function ({ login, email }) {
    this.login = login;
    this.email = email;
  };
  
  Account.prototype.getInfo = function () {
    console.log(`Login: ${this.login}, Email: ${this.email}`);
  };
  
  console.log(Account.prototype.getInfo);
  
  const mango = new Account({
    login: "Mangozedog",
    email: "mango@dog.woof",
  });
  
  mango.getInfo();
  
  const poly = new Account({
    login: "Poly",
    email: "poly@mail.com",
  });
  
  poly.getInfo();
  