Originally Posted by knownasniels
if i type "sure" in the prompt
var positive = "yes" || "sure"
will always be "yes" since a non-empty string is a truthy value (and that doesn’t trigger the alternate value).
other than that, what Andrew said.