Single Choice
Easy
QWhat 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;
}
ID: #5402
AngularJS Testing MCQ
242 views
Question Info
#5402Q ID
EasyDifficulty
AngularJS Testing MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
invalid args
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic