Why can't I do addition between 4 variables in JavaScript but I can do it with 3 variables?
问题 I encountered this problem while trying to add the values of 6 different input, I noticed that if I add 3 of them it works, but if I add more than 3 values it doesn't work. When I add 3 values between them, everything seems to work correctly but, for example, if I add 4 values, the result is like the addition between a string and a number. May I have your help please? This is my HTML code for the imput tags: document.getElementById("b").onclick = function() { var x = document.getElementById(