Advertisement
728x90
JavaScript functions follow below rules for parameters,
1. The function definitions do not specify data types for parameters.
2. Do not perform type checking on the passed arguments.
3. Do not check the number of arguments received.
i.e, The below function follows the above rules,
javascript
1function functionName(parameter1, parameter2, parameter3) {
2 console.log(parameter1); // 1
3 }
4
5functionName(1);Advertisement
Responsive Ad
🎯 Practice NowRelated Challenge
JavaScript Coding Exercise 55
Test your knowledge with this interactive coding challenge.
Start CodingAdvertisement
728x90
226of476