choice1="paper"
is an assignment, not a comparison. Use ===
for comparisons (unless you need type coercion, in which case use ==
)
2
solved I just want to know whats wrong in this java script code? [closed]
choice1="paper"
is an assignment, not a comparison. Use ===
for comparisons (unless you need type coercion, in which case use ==
)
2
solved I just want to know whats wrong in this java script code? [closed]