Well, the idea was to do a simple function that calculates the value entered in an input and returns the result to the user, but if the value entered is zero, the message that returns is: "Value in White!"; (Because the "" being converted to number becomes equal to zero). In short, there is a way for this to work there or I'll have to rewrite it in a different way.
function inp() {
var num = Number(input.value);
var myNum = (num == " ");
if (Number.isNaN(num) == true) {
alert("Formato Inválido!");
} else if (myNum === true) {
alert("Valor em branco!")
} else {
alert((50 + 50 + 50) * num);
}
}