Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit c462bcd

Browse files
adamantoniogruselhausKobeLiesenborgs
authored
Remove arguments from constructor in sketch.js (#3090)
Constructor does not use arguments in this sketch and the concept behind them is not introduced until the next video Co-authored-by: Nico Finkernagel <[email protected]> Co-authored-by: Kobe Liesenborgs <[email protected]>
1 parent 73f098d commit c462bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginners/p5js/6.2-classes/P5/sketch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function draw() {
2323
}
2424

2525
class Bubble {
26-
constructor(x, y, r) {
26+
constructor() {
2727
this.x = 200;
2828
this.y = 150;
2929
}

0 commit comments

Comments
 (0)