---
title: "Elvis Imeh (@elvisakpe) | Hashnode"
description: "Software Engineer. Read the latest articles by Elvis Imeh on Hashnode."
url: "https://hashnode.com/@elvisakpe"
---

@elvisakpe

# Elvis Imeh

@elvisakpe · Joined March 2022

Software Engineer

### [Copying array to a new variable in JavaScript](https://elvisakpe.hashnode.dev/copying-array-to-a-new-variable-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript array are reference values, i.e the variable point to a location in memory with the array data. For example: let x = \[1,2,3,4,5\] I have just defined a variable x to holds an array of length 5. I can then assign the value of x to a new v...

2 min read · [elvisakpe.hashnode.dev](https://elvisakpe.hashnode.dev/copying-array-to-a-new-variable-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 9, 2022](https://hashnode.com/posts/copying-array-to-a-new-variable-in-javascript/62785d52c2a8c278735c8520)
