Same as the solution. doesn't work. why though?

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

  **Your code so far**
// Setup
function testEqual(val) {
if (val == 12) {
  // Change this line
  return "Equal";
return "Not equal";

  **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: Comparison with the Equality Operator

Link to the challenge:

The failing test says:

Failed:testEqual(10) should return the string Not Equal

What are you returning?

Hint: Capitalization matters.

yeah, I figured it out when I was reworking it, haha! thanks >.<

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