+ 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 .