Object.prototype./*your function / value name*/=//your value
String.prototype./*your function / value name*/=//your value
Boolean.prototype./*your function / value name*/=//your value
/*your class*/.prototype./*your function / value name*/=//your value
//very simple
function point(x, y, canvas){
canvas.beginPath();
canvas.arc(x, y, 1, 0, 2 * Math.PI, true);
canvas.stroke();
}