import { render, c } from'declarativas';// Get your canvas from an HTML file.constcanvas=document.querySelector('canvas');render(canvas.getContext('2d'), [c('clearRect', { x:0, y:0, width:canvas.width, height:canvas.height, }),c('strokeStyle','#000'),c('rect', { x:100, y:100, width:20, height:20, }) ]),);