1. strokeRect(x, y, w, h)
  2. clearRect(x, y, w, h)
  3. fillRect(x, y, w, h)
  4. none of the mentioned

Share with your friends
AhmedNazir

Call

Answer: Option 2

The clearRect() method clears the specified pixels within a given rectangle.