crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Objects</h2> <p>Creating a JavaScript Object:</p> <p id="demo"></p> <script> const person = { firstName: "Mahamoud", lastName: "Adel", age: 50, eyeColor: "blue" }; document.getElementById("demo").innerHTML = person.firstName + " is " + person.age + " years old."; </script> </body> </html>
JavaScript Objects
Creating a JavaScript Object: