Skip to main content

🛍️ CYBER MONDAY ALL WEEK 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
  • Varuzhan Darbinyan
    Varuzhan Darbinyan
    8,360 Points

    .push() Method

    Posted February 5, 2015 2:08pm by Varuzhan Darbinyan
    Varuzhan Darbinyan
    8,360 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    2 Answers

  • Scott Peake
    Scott Peake
    17,052 Points

    Array returns with .toString() method

    Posted January 16, 2015 7:25am by Scott Peake
    Scott Peake
    17,052 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • Kartik Kapoor
    Kartik Kapoor
    3,016 Points

    What is the need for using consol.log(my_array.toString()); ?

    Posted January 15, 2015 6:44am by Kartik Kapoor
    Kartik Kapoor
    3,016 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • rd. ln.
    rd. ln.
    7,851 Points

    I'm sorry but these JavaScript lessons are not very engaging. They're just laundry overview of syntax.

    Posted January 15, 2015 5:07am by rd. ln.
    rd. ln.
    7,851 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    2 Answers

  • Rod Garland
    Rod Garland
    22,766 Points

    Where are the teacher's notes and project files for the past few lessons? Its irritating, i cant organize notes.

    Posted December 15, 2014 12:11am by Rod Garland
    Rod Garland
    22,766 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • Emmanuel Koranteng
    Emmanuel Koranteng
    21,488 Points

    .toString();

    Posted December 2, 2014 10:37am by Emmanuel Koranteng
    Emmanuel Koranteng
    21,488 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • Gina Bégin
    PLUS
    Gina Bégin
    Courses Plus Student 8,613 Points

    Quite a bit into the "Javascript" section of the "Front End Web Development" track & wondering: when will I use this?

    Posted November 19, 2014 11:09pm by Gina Bégin
    Gina Bégin
    Courses Plus Student 8,613 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    3 Answers

  • avremel
    avremel
    8,448 Points

    toString();

    Posted November 16, 2014 1:54am by avremel
    avremel
    8,448 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    2 Answers

  • Joel Fredin
    PLUS
    Joel Fredin
    Courses Plus Student 1,971 Points

    "Push", "Pop", "Unshift", "Shift" when do you use these in real programming life?

    Posted October 29, 2014 8:38pm by Joel Fredin
    Joel Fredin
    Courses Plus Student 1,971 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • Yele X.
    Yele X.
    5,537 Points

    On line 18, use a method on the 'spareWords' to set 'firstWord' to be first word of the 'spareWords' array whilst simult

    Posted October 18, 2014 7:20pm by Yele X.
    Yele X.
    5,537 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    5 Answers

  • hakan Gülay
    hakan Gülay
    8,489 Points

    question

    Posted September 11, 2014 5:02pm by hakan Gülay
    hakan Gülay
    8,489 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    1 Answer

  • Taylor Patterson
    PLUS
    Taylor Patterson
    Courses Plus Student 1,769 Points

    College or Bootcamp?

    Posted July 5, 2014 2:31am by Taylor Patterson
    Taylor Patterson
    Courses Plus Student 1,769 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    6 Answers

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

    Storing array.unshift(1) into a another variable for console.log results in strange output. Why?

    Posted June 6, 2014 6:16am by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    5 Answers

  • Gerald Veeneman
    Gerald Veeneman
    9,832 Points

    console.log(my_array) vs console.log(my_array.toString())

    Posted March 18, 2014 6:03pm by Gerald Veeneman
    Gerald Veeneman
    9,832 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Methods: Part 1

    9 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