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 dd2de0d commit 387d3a0Copy full SHA for 387d3a0
start/lesson8/index.html
@@ -19,26 +19,7 @@
19
20
<body>
21
<script>
22
- class Point{
23
- constructor(x,y){
24
- this.x = x;
25
- this.y = y;
26
- }
27
28
-
29
- const pt = new Point(20, 65);
30
31
- class Rectangle{
32
- constructor(left, top, width, height){
33
- this.left = left;
34
- this.top = top;
35
- this.width = width;
36
- this.height = height;
37
38
39
40
- const rect1 = new Rectangle(10, 10, 100, 50);
41
- const rect2 = new Rectangle(50, 20, 200, 80);
+
42
</script>
43
</body>
44
0 commit comments