#!/bin/sh
//Rock, Paper, Scissors
var myChoice = prompt("Rock, Paper, or Scissors?");
var computerChoice = Math.random();
if (computerChoice >= 0 && computerChoice <= .33)
{
computerChoice === "rock";
}
else if (computerChoice >=.34 && computerChoice <= .67)
{
computerChoice === "paper";
}
else
{
computerChoice === "scissors";
};
I understand my code to be rudimentary, but I am just beginning with Javacript. I am trying to run this code through the terminal and continue to get the error message "can't find variable: prompt." I am sure there is a simple explanation out there, but I can't seem to find it.