Advanced JavaScript Tutorial in Hindi [Part 80] - Default Parameters in ES6

Tech Gun
Youtube
Related Topic
:- Web Development Javascript

 In this video i will talk about Default Parameters in ES6. In JavaScript, a parameter has a default value of undefined. It means that if you don’t pass the arguments into the function, its parameters will have the default values of undefined. A function that automatically provides default values for undeclared parameters can be a beneficial safeguard for your programs, and this is nothing new. 

Comments