Why we use function? The main objective of function is to avoid the repeatation of code. Example: If we have to perform different operations on two variables we write code as follows: let a=25 let b=5 console.log(a + b) console.log(a - b) console.log...

Markdown supported · ⌘↵ to post
No responses yet.