golf.js requires JavaScript enabled. It’s kind of the whole point.

Training : hole 6 : Squares

Given a number as input, output should be a string made up of a square of asterisks the size of input. For example, input of 4 should result in the following output, a 4 by 4 square with line breaks:

****
*  *
*  *
****
Type your JavaScript solution here:
your best score: 10000

best hole scores

# golfer score
1. wildcard 1
2. bbb 1
3. s 1
4. miry 1
5. cwolves 1
6. axl 15
7. scottholdren 15
8. mleugh 77
9. sd 82
10. shinster 82