Skip to content

fix(curriculum): correct object reference and method binding explanations - #71488

Open
wigsdev wants to merge 1 commit into
freeCodeCamp:mainfrom
wigsdev:fix/js-object-reference-and-method-binding
Open

wigsdev wants to merge 1 commit into
freeCodeCamp:mainfrom
wigsdev:fix/js-object-reference-and-method-binding

Conversation

@wigsdev

@wigsdev wigsdev commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Checklist:

Closes #71481

Summary of Changes

  1. Primitive vs. Non-Primitive Data Types Lesson (6732b73d25cc01251b778043.md):

    • Corrected the description of assigning an object reference to avoid calling it "shallow copying by reference".
    • Clarified that this operation copies the reference without creating a new outer object, distinguishing it from a shallow copy.
    • Updated both the JavaScript v9 and Front-End Development copies.
  2. Functions vs. Object Methods Lesson (6732b749b8aad125523dcda5.md):

    • Clarified that invoking a method with dot notation (e.g. person.sayHello()) supplies person as the value of this.
    • Removed the inaccurate claim that ordinary methods are permanently bound to the object where they were defined.
    • Updated both the JavaScript v9 and Front-End Development copies.

@wigsdev
wigsdev requested a review from a team as a code owner October 31, 2026 13:41
@github-actions github-actions Bot added the scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. label Oct 31, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct reference copying and method binding explanations in JavaScript object lessons

1 participant