We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26916db commit 8e40eb6Copy full SHA for 8e40eb6
Geometry/Polygon.js
@@ -1,6 +1,9 @@
1
/*
2
This program calculates the area, perimeter, and interior angle of a regular n-gon
3
given the side length and the number of sides.
4
+* @constructor
5
+* @param {number} sideLength - The side length of the polygon.
6
+* @param {number} sides - The number of sides in the polygon.
7
*/
8
9
class Polygon{
0 commit comments