"Natália-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>Exercício Objetos</h2> <p id="demo"></p> <script> var carro = { fabricante:"Fiat", modelo:"500", cor:"white" }; // Display data from the object: document.getElementById("demo").innerHTML = person.fullName(); </script> </body> </html>
var person = { firstName: "John", lastName: "Doe", age: 50, eyeColor: "blue" };

Related: See More


Questions / Comments: