"Geisilene-objetos"
Bootstrap 4.1.1 Snippet by psd06t

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <body> <h2>JavaScript Objects</h2> <p id="demo"></p> <script> // Create an object: var carro = {fabricante:"Fiat", modelo:"uno", cor:"prata"}; // Display some data from the object: document.getElementById("demo").innerHTML = "O fabricante e " + car.type;"The car type is " + car.model; </script> </body> </html>
var carro = {type:"Fiat", model:"500", color:"white"};

Related: See More


Questions / Comments: