Basic Algorithm Scripting - Boo who

Tell us what’s happening:
Describe your issue in detail here.
I need help with this

  **Your code so far**
function booWho(bool) {
if(typeof(bool)=== 'boolean'){
  return true;
}  
return bool;
}

booWho(null);
  **Your browser information:**

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

Challenge: Basic Algorithm Scripting - Boo who

Link to the challenge:

I think you should return something else instead of bool, look into the task once more

didn’t work out brother

Well, need to see your updated code then

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