✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The code below has multiple bugs. Which option(s) correctly identify all of them? (More than one answer is correct.)
let offset = 0;
function setup { createCanvas(400, 400);}
function draw() { background(220); for (y = 0; y < 4; y--) { rect(200, 50 * y + offset); } offset = offset + 5; if (offset > height) offset = 0;}