Basic Algorithm Scripting - Confirm the Ending

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

i really dont understand how this question works or what to do pls

function confirmEnding(str, target) {
  return str;
}

confirmEnding("Bastian", "n");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203

Challenge: Basic Algorithm Scripting - Confirm the Ending

Link to the challenge:

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