Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Javascript Basics

Public visualization

Viewing a saved revision (read-only)

a4371b244c27426082162752bf0c5423

Javascript Basics

0 stars1🌍 Public
Gguththered
Last edited Jun 8, 2022
Created on Jun 8, 2022
Forked from SVG Fundamentals

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