This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by jkim55
almost 9 years

What else am I supposed to do? 5/9

var compare=function(choice1, choice2) { if(choice1 === choice2) { return “The result is a tie”; } };

i followed the instruction, and the hint, and stuff. but it keeps in saying that my cop are function won’t return. HELP ME, PLEEEZZZ

Answer 555e51759376765eec0006e1

6 votes

Permalink

You have to add the ! in your string or you will get an error message

points
Submitted by Terrance
almost 9 years

1 comments

edamamesama almost 9 years

Yeah, there’s a “!” at the end of the string in the instruction, but it’s omitted due to a typo in the hint section, so a misleading. Cheers for spotting that and letting us know, I was pulling my hair out! :)

Answer 55ae751ed3292fa085000461

0 votes

Permalink

same issue here my code is correct yet couldnt pass , why all these issues? its discouraging, spending time debugging what its not, please codecademy look into this.

points
Submitted by mokowebtech
over 8 years

Answer 555deec99376761d790001fb

-1 votes

Permalink

I had the same issue jkim55 I think it is a bug in the system. I just skipped it. If you followed instructions to the letter, which I am sure you did, and it yields an error then the error is on the part of the system, not the user.

points
Submitted by dwfan10
almost 9 years

1 comments

Zhuzhu880618 almost 9 years

i think so dude, i think i was right by comfirm and checking for answer in Q&A forum, but still cant pass, so i do think the bug is not in my side!!!!here is my code: var compare = function(choice1,choice2){ if (choice1 === choice 2){ return “The result is a tie!”; } };