Functions and types in JavaScript.
Functions:
Functions is a reusable block of code that performs a specific task or set of tasks.
Uses:
Write once use many times, follows DRY principle (Do Not Repeat Yourself).Function defined once can be called multiple times.
Also, this saves lot...
shrivatsa.hashnode.dev4 min read