Skip to main content

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

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

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
  • Stefan Schraberger
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Stefan Schraberger
    Front End Web Development Techdegree Student 8,873 Points

    Should Objects also be declared using let or const?

    Posted April 2, 2019 1:13pm by Stefan Schraberger
    .a{fill-rule:evenodd;}techdegree
    Stefan Schraberger
    Front End Web Development Techdegree Student 8,873 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    4 Answers

  • Zara Sales
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Zara Sales
    UX Design Techdegree Student 787 Points

    Isn't everything in Java is Object? Then why Javascript too?

    Posted March 1, 2019 11:13pm by Zara Sales
    .a{fill-rule:evenodd;}techdegree
    Zara Sales
    UX Design Techdegree Student 787 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    1 Answer

  • Nicholas Wallen
    Nicholas Wallen
    12,278 Points

    What's the difference between a key and a property, if they both equal "value"?

    Posted April 24, 2018 8:16pm by Nicholas Wallen
    Nicholas Wallen
    12,278 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    2 Answers

  • Vic Mercier
    Vic Mercier
    3,276 Points

    Is it normal if I don't understand how objects are useful ?(I just did the first lesson of objects litteral )

    Posted May 26, 2017 8:00pm by Vic Mercier
    Vic Mercier
    3,276 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    5 Answers

  • Modou Sawo
    Modou Sawo
    13,141 Points

    Need help with my shopping list app in JavaScript

    Posted February 12, 2017 4:39am by Modou Sawo
    Modou Sawo
    13,141 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    3 Answers

  • Michael Stedman
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Michael Stedman
    Full Stack JavaScript Techdegree Student 13,838 Points

    .DS_Store in the project files?

    Posted January 2, 2017 6:44am by Michael Stedman
    .a{fill-rule:evenodd;}techdegree
    Michael Stedman
    Full Stack JavaScript Techdegree Student 13,838 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    1 Answer

  • zabi kadamzadeh
    zabi kadamzadeh
    5,745 Points

    JS object properties/keys

    Posted November 10, 2016 10:54am by zabi kadamzadeh
    zabi kadamzadeh
    5,745 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    2 Answers

  • A X
    A X
    12,842 Points

    Having Difficulty Understanding Object Literals in JS

    Posted May 31, 2016 3:17pm by A X
    A X
    12,842 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    1 Answer

  • Jeanette Trudell
    Jeanette Trudell
    11,460 Points

    I only have experience with one other programming language (Ruby), but aren't these object literals just hashes?

    Posted June 4, 2015 8:01pm by Jeanette Trudell
    Jeanette Trudell
    11,460 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    5 Answers

  • David Diehr
    David Diehr
    16,457 Points

    Are keys and properties the same thing?

    Posted February 24, 2015 3:34am by David Diehr
    David Diehr
    16,457 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Data Using Objects
    • The Object Literal

    5 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