JavaScript drawing functions

Report a typo

In this task, match the code syntax with the correct description of the JavaScript function.

Match the items from left and right columns
fillRect(x, y, width, height)
strokeRect(x, y, width, height)
clearRect(x, y, width, height)
Draws a rectangular outline.
Clears the specified rectangular area, making it transparent.
Draws a filled rectangle.
___

Create a free account to access the full topic