Quick Question about reportingForDuty()

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.

I changed , but It is showing error now. Pls help…

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)

2 Likes

I thought they want string in variables so I added ’ ’