Posts by Joao Oliva • 61 points
1 post
-
5
votes2
answers86
viewsQ: Is there a difference in creating objects and adding properties with literal notation or with`new Object` in Javascript?
I have a question. Do this here: let meuCarro = new Object(); meuCarro.fabricacao = 'Ford'; meuCarro.modelo = 'Mustang'; meuCarro.ano = 1969; console.log(meuCarro.fabricacao);…