Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Object Properties Names without Quotes</title> </head> <body> <script> let car = { modal: "BMW X3", color: "white", doors: 5 } // Print variable value in browser's console console.log(car); </script> <p><strong>Note:</strong> Check out the browser console by pressing the f12 key on the keyboard.</p> </body> </html>