Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
SilverLight
Meru Taxi
Other
ASP.NET
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
 Mobile Taxi
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


What will be the output of following code snippet?
Question Posted on 12 Feb 2019

Home >> Tools >> ECMAScript >> What will be the output of following code snippet?




What will be the output of following code snippet?
function foo(a = 10, b = 5) {
console.log(a, b);
}
foo(6);
(1)10, 5
(2)10, 6
(3)undefined error
(4)6, 5

Answer:-(4)6, 5
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
ES6 is the implementation of?
ES6 can be used for ______________
ECMAScript is a __________
ES6 is officially called ______________
All major JavaScript Implementations are based on which standard?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |