Need help with the Javascript
I don’t know how to check if eval(num) doesen’t return anything and if that is a number.
Please help here is my code:
num = output.value;
var a = eval(num);
if(typeof(a) !== 'undefined') && (a !== null)){
console.log('Please be specific');
} else {
output.value = a;
}