0
Ok, basically I need to create a simple javascript function where I enter two values, and it returns the largest of them. My solution was:
function eMaior(A,B) {
if (A > B) {return: A}
else {return B}
}
but it doesn’t work and I don’t understand what I’m doing wrong. someone can help?
omeudeus, such a small business hahahaha thank you Rodrigo!!! <3
– kathryn
Welcome to the life of a programmer :)
– Rodrigo Alves
Always look for the error log ;)
– Rodrigo Alves