what is javascript rec code example Example: javascript rect // canvas context.fillRect(x, y, width, height); ctx.fillRect(20, 20, 150, 100);