Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • ilovecode
    ilovecode
    8,071 Points

    Why is portland, seattle etc not declared with const or let?

    Posted May 31, 2020 10:23am by ilovecode
    ilovecode
    8,071 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points

    what did he mean by a 'verbose' method?

    Posted April 17, 2019 4:10pm by Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Alex Franklin
    Alex Franklin
    12,403 Points

    Anyone else more con-foo-sed after watching (THIS)?!

    Posted February 20, 2019 9:52pm by Alex Franklin
    Alex Franklin
    12,403 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Zijun Liao
    Zijun Liao
    13,409 Points

    declare class in Javascript - class vs function

    Posted February 3, 2019 11:39pm by Zijun Liao
    Zijun Liao
    13,409 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Mia Filisch
    Mia Filisch
    16,117 Points

    What is the difference between the 2nd and 3rd use of `this` mentioned in this video?

    Posted December 14, 2018 11:21pm by Mia Filisch
    Mia Filisch
    16,117 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Leonardo Motta
    Leonardo Motta
    11,284 Points

    Why my template literals does not work with this arrow function?

    Posted September 12, 2018 1:02am by Leonardo Motta
    Leonardo Motta
    11,284 Points
    • JavaScript
    • Understanding "this" in JavaScript

    3 Answers

  • Pitrov Secondary
    Pitrov Secondary
    5,121 Points

    What is the ":" in 02:53 in 5th lane?

    Posted June 7, 2018 6:34pm by Pitrov Secondary
    Pitrov Secondary
    5,121 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Pitrov Secondary
    Pitrov Secondary
    5,121 Points

    Is "this" something I really need to understand and learn?

    Posted June 4, 2018 6:26pm by Pitrov Secondary
    Pitrov Secondary
    5,121 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • tal Shnitzer
    PLUS
    tal Shnitzer
    Courses Plus Student 5,242 Points

    is it just me? I can't understand a word this guy is saying...

    Posted April 8, 2018 2:11pm by tal Shnitzer
    tal Shnitzer
    Courses Plus Student 5,242 Points
    • General Discussion
    • Understanding "this" in JavaScript

    7 Answers

  • Johnny Garces
    PLUS
    Johnny Garces
    Courses Plus Student 8,551 Points

    Why did "this" result in the window object when it was logged within a function?

    Posted March 6, 2018 2:26pm by Johnny Garces
    Johnny Garces
    Courses Plus Student 8,551 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Nathan Grey
    Nathan Grey
    6,112 Points

    What about the Thorns?

    Posted December 15, 2017 9:31pm by Nathan Grey
    Nathan Grey
    6,112 Points
    • General Discussion
    • Understanding "this" in JavaScript

    0 Answers

  • Carlos Villarroel
    Carlos Villarroel
    23,748 Points

    Using the Arrow Syntax

    Posted July 16, 2017 12:28am by Carlos Villarroel
    Carlos Villarroel
    23,748 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Jason Welsh
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Welsh
    Front End Web Development Techdegree Graduate 19,867 Points

    Where is the workshop he mentions that talks about call/apply/bind?

    Posted July 8, 2017 6:24pm by Jason Welsh
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Welsh
    Front End Web Development Techdegree Graduate 19,867 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Rizwan Renesa
    Rizwan Renesa
    7,805 Points

    Why can't we call the function using foo() ?

    Posted April 23, 2017 6:01am by Rizwan Renesa
    Rizwan Renesa
    7,805 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Sheila Babadi
    Sheila Babadi
    5,241 Points

    this.name and this.state

    Posted March 13, 2017 4:43pm by Sheila Babadi
    Sheila Babadi
    5,241 Points
    • JavaScript
    • Understanding "this" in JavaScript

    1 Answer

  • Hazim Bora Alap
    Hazim Bora Alap
    15,001 Points

    Not a Question, but I wanted to point out something.

    Posted February 26, 2017 12:09am by Hazim Bora Alap
    Hazim Bora Alap
    15,001 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Harsh Khandelwal
    Harsh Khandelwal
    5,539 Points

    Cannot understand behavior of this code.

    Posted November 9, 2016 11:44pm by Harsh Khandelwal
    Harsh Khandelwal
    5,539 Points
    • JavaScript
    • Understanding "this" in JavaScript

    3 Answers

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    logTeams function

    Posted September 17, 2016 1:21am by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Tommaso Poletti
    Tommaso Poletti
    5,205 Points

    I can't understand why use " = " instead " : " inside a object

    Posted August 8, 2016 10:01pm by Tommaso Poletti
    Tommaso Poletti
    5,205 Points
    • JavaScript
    • Understanding "this" in JavaScript

    2 Answers

  • Gwen Sims-Williams
    Gwen Sims-Williams
    10,898 Points

    Why use "this" instead of the object name?

    Posted June 8, 2016 3:56pm by Gwen Sims-Williams
    Gwen Sims-Williams
    10,898 Points
    • JavaScript
    • Understanding "this" in JavaScript

    4 Answers

  • Brendan Whiting
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,740 Points

    Workspace for this workshop...

    Posted March 25, 2016 10:18pm by Brendan Whiting
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,740 Points
    • JavaScript
    • Understanding "this" in JavaScript

    4 Answers

  • johnnyesper
    johnnyesper
    5,935 Points

    How do I call all cities in one line?

    Posted March 16, 2016 10:17am by johnnyesper
    johnnyesper
    5,935 Points
    • JavaScript
    • Understanding "this" in JavaScript

    3 Answers

  • Anton Bredl
    Anton Bredl
    15,359 Points

    Methods Explained: .apply .bind .call

    Posted October 20, 2015 6:03pm by Anton Bredl
    Anton Bredl
    15,359 Points
    • JavaScript
    • Understanding "this" in JavaScript

    3 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord