---
# System prepended metadata

title: 'Unit 1: Lesson 2 - Coding Lab (Arrays)'
tags: ['''23-''24']

---

# Unit 1: Lesson 2 - Coding Lab (Arrays)

## Objective:
The objective of this assignment is to practice working with JavaScript Arrays and their methods.

You are tasked with creating a program to manage a shopping list.

## Instructions
1. Create an empty array called `shoppingList`.
2. Add the following items to the `shoppingList` array:
   - Milk
   - Bread
   - Eggs
   - Apples
   - Pasta

    - **[1.3: 1 pt]**

3. Remove the item "Eggs" from the `shoppingList` using an array method.
    - **[1.3: 1 pt]**

4. Create a new array called `urgentItems`.
5. Add the following items to the `urgentItems` array:
   - Medicine
   - Toilet paper
 
   - **[1.3: 1 pt]**

6. Merge the items from the `urgentItems` array into the `shoppingList` without using functions.
   - **[1.3: 1 pt]**
