In this code, we are provided with
details of a participant.
Your task is to modify the code
to achieve the following
console log output:
If the participant has the role
of admin
, the message should be:
[Participant Name] has access to the admin area.
.
If the participant has a different role,
the message should be:
[Participant Name] has access to the public area.