🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Abhijit Das
    Abhijit Das
    5,022 Points

    the finished calculator seems not working properly

    Posted July 10, 2017 3:43pm by Abhijit Das
    Abhijit Das
    5,022 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    3 Answers

  • Colin Sygiel
    Colin Sygiel
    5,249 Points

    Can someone please re-explain why "this" is used?

    Posted March 5, 2017 6:28am by Colin Sygiel
    Colin Sygiel
    5,249 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    3 Answers

  • joseph arias
    joseph arias
    9,269 Points

    Uncaught TypeError: calculator.add is not a function

    Posted December 16, 2016 6:47pm by joseph arias
    joseph arias
    9,269 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    1 Answer

  • James Barrett
    James Barrett
    13,253 Points

    Would using 'calculator' over 'this' work in this scenario? If not, why? And if it does, why would we choose 'this'?

    Posted September 22, 2016 8:05pm by James Barrett
    James Barrett
    13,253 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    3 Answers

  • jeannieduen
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    jeannieduen
    Front End Web Development Techdegree Student 8,709 Points

    Calculator.equals() not totaling up and returns "NaN" in console

    Posted August 30, 2016 5:45pm by jeannieduen
    .a{fill-rule:evenodd;}techdegree
    jeannieduen
    Front End Web Development Techdegree Student 8,709 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    1 Answer

  • john larson
    john larson
    16,594 Points

    Trying to store values from the calculator object into an array but...I don't quite have it.

    Posted July 24, 2016 9:46pm by john larson
    john larson
    16,594 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    2 Answers

  • john larson
    john larson
    16,594 Points

    What am I missing, getting undefined...

    Posted July 22, 2016 2:13pm by john larson
    john larson
    16,594 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    4 Answers

  • melissakeith
    melissakeith
    3,766 Points

    Javascript Loops, Arrays and Objects whey is the object format in that course different from this one?

    Posted July 12, 2016 10:41pm by melissakeith
    melissakeith
    3,766 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    2 Answers

  • Nijin Sha
    PLUS
    Nijin Sha
    Courses Plus Student 104 Points

    simply value instead of var value

    Posted April 4, 2016 4:58pm by Nijin Sha
    Nijin Sha
    Courses Plus Student 104 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    1 Answer

  • Nijin Sha
    PLUS
    Nijin Sha
    Courses Plus Student 104 Points

    simply value instead of var value

    Posted April 4, 2016 4:58pm by Nijin Sha
    Nijin Sha
    Courses Plus Student 104 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    0 Answers

  • john larson
    john larson
    16,594 Points

    when to use "return"

    Posted February 22, 2016 6:26am by john larson
    john larson
    16,594 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    3 Answers

  • Ginger Williams
    Ginger Williams
    6,409 Points

    How does it know to store the values?

    Posted December 21, 2015 6:16pm by Ginger Williams
    Ginger Williams
    6,409 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    1 Answer

  • Eric Trego
    Eric Trego
    15,308 Points

    so do i have this right

    Posted July 7, 2015 5:41am by Eric Trego
    Eric Trego
    15,308 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    1 Answer

  • Deepak Sharma
    Deepak Sharma
    1,987 Points

    How the browser is preserving the previous value?

    Posted July 3, 2015 8:01pm by Deepak Sharma
    Deepak Sharma
    1,987 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    2 Answers

  • Yohanan Braun-Feder
    Yohanan Braun-Feder
    6,101 Points

    console returns "undefined" value with lesson's code. why?

    Posted July 1, 2015 4:03am by Yohanan Braun-Feder
    Yohanan Braun-Feder
    6,101 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Introduction to Methods
    • Modifying Objects with Methods

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.