Foundations

Copy Before Changing

Copy Before Changing

MediumFoundationsPRO

Practice JavaScript array copying by adding an item to a returned list while keeping the original topics array unchanged for later code. This medium exercise contrasts updated return values with source state that later code still trusts.

What you'll practice

  • Work with JavaScript array copying by adding an item to a returned list while keeping the original topics array unchanged for later code
  • Contrasts updated return values with source state that later code still trusts

Unlock full access

Choose a plan and go straight to secure checkout.

  • All 600+ interactive exercises
  • Full course curriculum
  • Access to guided projects
  • All future content included

Secure checkout with Stripe. Cancel anytime.