Functions in Javascript
Function Expression:
A function expression in JavaScript is when you assign a function to a variable. It's an alternative way to define a function compared to the traditional function declaration. In your example:
const square = function(num) {
r...