Functions in JavaScript
1. Introduction
We can understand function via this simple explaination. Understand this piece of code:
const num1 = 10;
const nums2 = 40;
const sum = nums1 + num2;
console.log(sum); //50
java-script-basics.hashnode.dev3 min read