in Python by
Q:
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

▼ Show 1 Answer

0 votes
by
(iii)invalid args
Python
Learn More with Madanswer

Related questions

...