function logIn(name) {
  console.count(name + " login - ");
}

logIn("Alan");
logIn("Petr");
logIn("Alan");
logIn("Jase");
logIn("Jase");
logIn("Jase");

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.