Posts by farofino • 35 points
1 post
-
2
votes2
answers42
viewsQ: Uncaught Syntax error when assigning Object values in Javascript
I have the following code: var modelo = 'Yamaha Fazer 250'; var fabricante = 'Yamaha'; var moto = {'Modelo - '+ modelo: fabricante}; I’m getting the following error code: VM200:3 Uncaught…
javascriptasked farofino 35