logo

Crowdly

Browser

Add to Chrome

A student runs the following code and gets ReferenceError: Can't find variable: ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

A student runs the following code and gets ReferenceError: Can't find variable: dotSize. Which option correctly fixes the error?

function setup() {

  createCanvas(300, 300);

}

function draw() {

  background(220);

  ellipse(150, 150, dotSize, dotSize);

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on elearning.aua.am?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome