Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
(a) closePath()
(b) beginPath()
(c) moveTo(x, y)
(d) endPath()
The question was asked in quiz.
This interesting question is from Client-Side Graphics with Canvas in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML