🌍 Public
Viewing a saved revision (read-only)
4253d7b68e9b417789ccc9e785f40f24
Javascript Basics
This example demonstrates fundamental JavaScript concepts through console output, including variable assignment, object mutation, function declarations, and arrow functions. The code defines objects to represent people, such as a person with first and last name properties, and logs their values to the browser console. It also shows a function that returns a new object with passed parameters, and an arrow function that builds an object using shorthand syntax. The page renders an empty SVG element with a width of 960 and height of 500, but all visible behavior occurs through the console.
AI-generated description