What is the returning value of the getContext() method?
A). Drawing model
B). CanvasRenderingContext2D object
C). Context2D object
D). None of the mentioned
CanvasRenderingContext2D object
Call getContext() with the argument “2d” to obtain a CanvasRenderingContext2D object that you can use to draw two-dimensional graphics into the canvas. It is important to understand that the canvas element and its context object are two very different objects.
1. Why shouldn’t JavaScript functions not be too long?
2. Where are memory leaks found?
3. What is the function used to stop capturing the ad hoc timing ?
4. What does the constant TYPE_BACK_FORWRD indicate?
5. JavaScript Code can be called by using
6. The generalised syntax for a real number representation is
7. Which of the following gets converted to DOM elements by the rendering engine?
8. The property of a primary expression is