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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Violeta Last
    Violeta Last
    14,547 Points

    What is the length value of the alltasks array after the above code runs?

    Posted January 22, 2024 12:47pm by Violeta Last
    Violeta Last
    14,547 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Maria Patiño
    Maria Patiño
    6,578 Points

    How to combine two arrays?

    Posted January 23, 2023 8:03pm by Maria Patiño
    Maria Patiño
    6,578 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Jeffrey James
    PLUS
    Jeffrey James
    Courses Plus Student 2,144 Points

    Complete the code below using the method that returns the position of the darkred string inside the colors array:

    Posted December 6, 2021 6:49pm by Jeffrey James
    Jeffrey James
    Courses Plus Student 2,144 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Michael Rushton
    Michael Rushton
    7,126 Points

    I can't get the answer to this quiz question.

    Posted October 12, 2021 2:58pm by Michael Rushton
    Michael Rushton
    7,126 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    2 Answers

  • Tai Software
    Tai Software
    2,335 Points

    Can't use the flat method on the outside. itemsA.concat(itemsB) doesn't work. What am I missing?

    Posted April 30, 2021 6:16am by Tai Software
    Tai Software
    2,335 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Thomas Scott
    Thomas Scott
    7,682 Points

    Say you have two arrays, itemsA and itemsB...not sure how to put them together in the way the question asks?

    Posted April 17, 2021 11:58pm by Thomas Scott
    Thomas Scott
    7,682 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    fill in the multidivisional array

    Posted March 15, 2021 7:22pm by Alana Warson
    Alana Warson
    5,296 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    2 Answers

  • Alana Warson
    Alana Warson
    5,296 Points

    complete the code below using the method that returns the darkened string inside the array.

    Posted March 15, 2021 7:19pm by Alana Warson
    Alana Warson
    5,296 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    7 Answers

  • Larissa Ragland
    Larissa Ragland
    6,653 Points

    i have tried everything. i really would like to know this one. i tried [...itemsA, ...itemsB] i tried [ ..., items]

    Posted February 17, 2021 7:03pm by Larissa Ragland
    Larissa Ragland
    6,653 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Terence Fong
    Terence Fong
    1,499 Points

    What is the answer?

    Posted February 17, 2021 2:39pm by Terence Fong
    Terence Fong
    1,499 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Nick Huemmer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Nick Huemmer
    Front End Web Development Techdegree Graduate 26,840 Points

    Why does this return six items instead of 5?

    Posted September 21, 2020 7:33pm by Nick Huemmer
    .a{fill-rule:evenodd;}techdegree seal-36
    Nick Huemmer
    Front End Web Development Techdegree Graduate 26,840 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Nick Huemmer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Nick Huemmer
    Front End Web Development Techdegree Graduate 26,840 Points

    I can't figure out the solution to this quiz - none the methods I've learned fit into this notation.

    Posted September 21, 2020 7:26pm by Nick Huemmer
    .a{fill-rule:evenodd;}techdegree seal-36
    Nick Huemmer
    Front End Web Development Techdegree Graduate 26,840 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    Complete the code below by accessing the values inside the second nested array. The console.log() statement would output

    Posted August 28, 2020 4:22pm by Thomas Ma
    Thomas Ma
    15,199 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    3 Answers

  • Tim Brooks
    Tim Brooks
    2,339 Points

    How do I combine two arrays when the quiz program insists that using two spread operators is wrong?

    Posted August 8, 2020 6:42am by Tim Brooks
    Tim Brooks
    2,339 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    1 Answer

  • Junior Aidee
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Junior Aidee
    Front End Web Development Techdegree Graduate 14,657 Points

    Quiz Question 2 (What is the correct answer?)

    Posted July 14, 2020 9:15pm by Junior Aidee
    .a{fill-rule:evenodd;}techdegree seal-36
    Junior Aidee
    Front End Web Development Techdegree Graduate 14,657 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    5 Answers

  • Molly Zalman
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Molly Zalman
    Full Stack JavaScript Techdegree Student 12,522 Points

    Complete the code below using the method that returns the position of the darkred string inside the colors array:

    Posted July 12, 2020 6:08pm by Molly Zalman
    .a{fill-rule:evenodd;}techdegree
    Molly Zalman
    Full Stack JavaScript Techdegree Student 12,522 Points
    • JavaScript
    • JavaScript Arrays
    • Multidimensional Arrays
    • Review JavaScript Arrays

    4 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.