Ask coding questions

← Back to all posts
Javascript object problem
ia13ru (43)

I am trying to make 2 objects with the same name, and are exactly the same. I am also trying to put it on a canvas with ctx.fillRect. How would I go around doing this?
All javascript is in script.js