Skip to content

Conversation

wolfdaemon
Copy link
Contributor

This changes the "Reassigning object data type variables" with revised language and an extended example to explain the concept much more initially clear.

Because

This changes the "Reassigning object data type variables" with revised language and an extended example to explain the concept much more initially clear.

This PR

  • Changes the admonition titled "Reassigning object data type variables" to "Modifying the properties of an object vs. reassigning the object variables"
  • Changes the verbiage/example of the section to make things more clear, specifically:
    • Making a clear difference as to what a "mutation" vs changing the value of a primitive does
      • How the above affects variables that reference vs primitives that have a value on its own
      • Making a clear separating the between the variable name that references the object itself, vs the name/label/reference attached to it.

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project curriculum contributing guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

This changes the "Reassigning object data type variables" with revised language and an extended example to explain the concept much more initially clear.
@github-actions github-actions bot added the Content: Foundations Involves the Foundations content label Jul 7, 2025
@rlmoser99 rlmoser99 requested review from a team and bycdiaz and removed request for a team July 8, 2025 01:39
@mao-sz mao-sz self-requested a review September 4, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content: Foundations Involves the Foundations content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant