Im not sure how to use the brackets. Can someone help me please

// Setup

let firstLetterOfLastName = "";

const lastName = "L";

// Only change code below this line

firstLetterOfLastName = lastName; // Change this line

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

Ok, thank you for letting me know

firstLetterOfLastName = lastName[0];

I also figured it out. The only issue was that I didn’t have brackets after “lastName”.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.