text: Program to find the area of a Square | function to find the area ; Driver program
code: function area_fun ( side ) { let area = side * side ; return area ; } let side = 4 ; let area = area_fun ( side ) ; document . write ( area ) ;