1/* this is a function that return the square of the argument */
2var square = function(x) {
3 return x * x;
4}
5/* we want to log in the console the value of x+(x*x)
6var x = 7;
7console.log(x + square(x));
8/* should log 7+(7*7) => 7+49 => 56 in the console