Function in JavaScript is fundamental building block , used to build the flexible application.
You can compare the block with "Brick" which is used to build the houses and building.
You can also define the function in JavaScript is reusable component, means you don't want to develop any core business logic from scratch but can be get it from other developer or commercial third party vendor.
Why function is needed ?
To simplify and managing the application efficiently . On developer side, its most convenient to trace the error and use it as per the design.
What problem it resolves ?
Code duplication and repetition on your project.
No comments:
Post a Comment