skip to Main Content

Html – Why am I getting "NaN" here?

I'm trying to make a simple calculator, however, when I try to add two numbers, I'm getting the NaN result. Before this problem, the function sumar() was returning [object HTMLInputElement][object HTMLInputElement], however after adding + when calling the dom, it…

VIEW QUESTION
Back To Top
Search