हिंदी

What is the use of function?

Advertisements

प्रश्न

What is the use of function?

टिप्पणी लिखिए
Advertisements

उत्तर

  1. Functions are used to encapsulate code that performs a specific task.
  2. Functions are used to keep code that performs a particular job in one place in order to enhance reusability and program clarity.
shaalaa.com
Functions in JavaScript
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 16: JavaScript Functions - Evaluation [पृष्ठ ३३६]
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×