I need your help to write a code using JavaScript to solve or create these chapes.
(1) Write the function regularPolygonGeometry(n, inne