Why the regular expression returns false?

Tell me why this regular expression returns false?
for example, in the field enter 10+5
July 8th 19 at 15:56
1 answer
July 8th 19 at 15:58
Because you text is a DOM element and put the string and should be cast to numbers
Thank you! - gussie.Quitzon commented on July 8th 19 at 16:01

Find more questions by tags JavaScript