Start.dev
CoursesChallenges
Log inSign up

JavaScript Arrays

Challenge set

JavaScript Arrays

Build practical JavaScript array skills through six Challenges covering access, updates, queues, slices, splices, and ordered collections.

JavaScript logoJavaScript

Work through the collection

Challenges in This Set

  1. 01
    JavaScript logo

    JavaScript

    Pack the Backpack

    Use JavaScript push() to add two essential supplies to a backpack array, then report the completed packing list and its new length.

    Experience points50XPBeginner
  2. 02
    JavaScript logo

    JavaScript

    Remove the Last Track

    Use JavaScript pop() to remove the final track from a playlist, capture the returned value, and print both the removed track and remaining songs.

    Experience points50XPBeginner
  3. 03
    JavaScript logo

    JavaScript

    Update the Guest List

    Update a JavaScript guest list by replacing one array item through its index, then print the corrected list without adding another guest.

    Experience points50XPBeginner
  4. 04
    JavaScript logo

    JavaScript

    Priority Queue

    Manage a JavaScript support queue with shift() and unshift(), recording the served customer before placing an urgent customer at the front.

    Experience points50XPBeginner
  5. 05
    JavaScript logo

    JavaScript

    Weekend Schedule

    Use JavaScript slice() to copy the weekend plans from a weekly schedule, then print both arrays to prove the original schedule stayed unchanged.

    Experience points50XPBeginner
  6. 06
    JavaScript logo

    JavaScript

    Repair the Inventory

    Repair a JavaScript inventory with splice() by replacing one unavailable item with two new supplies, then report what was removed and the final list.

    Experience points50XPBeginner
Start.dev

Learn how to code by building real software.

© 2026 Start.devRoadmapRanksBlogInstructorsFAQContact usTerms of ServicePrivacy PolicyStatus