What is an argument?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is an argument?
Rating:
An argument is a value that is passed to the parameter defined in the parentheses of the function. Arguments are needed when a function has to return a value. Argument passing can be useful to the programmers because they can change the values without making changes in the code. In JavaScript, the arguments are used to access the properties of custom objects defined in the constructor.
Rating:
Was this information helpful?
Other articles
- How is a domain related to the setting of a cookie?
- What is the with statement?
- What is the prompt method?
- What is the while loop?
- How to use the blur() method?
