Basic Algorithm Scripting - Boo who

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

"booWho(false) should return true" but instead it is return false, any suggestion ?
function booWho(bool) {
  if (bool === true || false) {
    return true;
  return false;


Your browser information:

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

Challenge: Basic Algorithm Scripting - Boo who

Link to the challenge:

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