Question: Modify the mountain table program in Chapter 6 of Eloquent JavaScript http://eloquentjavascript.net/ by: Adding a BorderedCell constructor that makes cells with a border. That is,
Modify the mountain table program in Chapter 6 of Eloquent JavaScript http://eloquentjavascript.net/ by:
Adding a BorderedCell constructor that makes cells with a border. That is, the top of the cell has dashes (use single dash, don't use underscore) across it, as well as the bottom. For the sides, use a "|". Test it by drawing a table with at least 2 rows and 2 columns with bordered text.
The result should output something like the following:

Use functional programming (higher order functions)
Mastro's Ocean II$$$$ I Club IS I I Denny's
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
