Posts by Gabriel Camargo • 13 points
1 post
-
0
votes1
answer23
viewsQ: Problem returning text
the console returns the variable as Undefined carta = new Image(); carta.src = "images/CartaVirada.png"; carta.src2 = defineCarta(1); carta.position = {x:5, y:10}; carta.numImg =…