70163111

Date: 2021-11-30 01:11:45
Score: 5
Natty:
Report link
    if (val > 50 or val == 50){

In Javascript, instead of or, we use ||. If you have a similar problem again, you might want to take a look at What does this symbol mean in JavaScript?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2): have a similar problem
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: user1280483