Throw error when arguments less than 5 while calling CanvasRenderingContext2D.arc method