+ 6
@Suraj First of all, If you are talking about this then, var ctx =canvas.getContext("2d"); then it is variable it could be anything not only ctx but it can be crs or cfg anything even our name. In JavaScript, it is just the way to give all function stored in getContext object to the variable ctx or whatever you will name it. If any queries then comment .
9th Jan 2018, 2:49 PM
Akash Pal
Akash Pal - avatar