Versatile editor for multi-platform word game

Please help. No matter what settings, it returns the second condition.


var cause, effect, interference;

interference = window.prompt("?");

if (interference = "1")
{effect = "2"}

if (interference= "2")
{ effect = "4"

1 answer Last reply
More about versatile editor multi platform word game
  1. If that code snippet is correct, you are missing a closing brace after effect="4".
Ask a new question

Read More

Games Document