^^Scegliere le abbreviazioni.

Canvas

canvas width     canvas_w    cv_w    cvw    cvW    CVW
canvas height    canvas_h    cv_h    cvh    cvH    CVH
 
ctx.fillRect(0, 0, canvas_w, canvas_h); 

ctx.fillRect(0, 0, cv_w, cv_h);          // poco leggibile

ctx.fillRect(0, 0, cvw, cvh);