What will be the output of the following snippet , if we pass 3e,5?
vm.add = function(a,b){
if(typeof a !== 'number' || typeof b !== 'number'){
return 'invalid args';
}
return a+b;
}
(i)logical error
(ii)compile time error
(iii)invalid args
(iv)runtime error