Question said I should put string as parameters,
Why it shows Unexpected string?
The return
should not have a {
afterward and the string should be on the same line as the return.
You have quotation marks around rank
and lastName
that shouldn’t be there.
These are variables, so they shouldn’t have quotation marks.
('rank','lastName')
should be
(rank, lastName)
I thought they want string in variables so I added ’ ’