---
title: "Discussion on \"The Unusual of JavaScript Arrays and their length Property\" | Hashnode"
description: "Discussion on \"The Unusual of JavaScript Arrays and their length Property\". The length Update\nAn update in an array length modifies the array.\nSee the example below:\nconst fruits = [];\nfruits[132] = \"Apple\";\n\nconsole.log( fruits.length ); // 133 => last index + 1\nconsole.log( fruits.length - 100 ); // 33\n\n\nWritable length pr..."
url: "https://hashnode.com/posts/the-unusual-of-javascript-arrays-and-their-length-property/603c31800dad7e6b99e21def"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Unusual of JavaScript Arrays and their length Property](https://techstack.hashnode.dev/the-unusual-of-javascript-arrays-and-their-length-property?utm_source=hashnode&utm_medium=feed)

The length Update An update in an array length modifies the array. See the example below: const fruits = \[\]; fruits\[132\] = "Apple"; console.log( fruits.length ); // 133 => last index + 1 console.log( fruits.length - 100 ); // 33 Writable length pr...

Mar 1, 2021 · 3 min read · techstack.hashnode.dev  
Updated Jun 24, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Bello](https://hashnode.com/@techstack)

@techstack · Nigeria

  
[View profile](https://hashnode.com/@techstack)

web developer

Web technology related ➡️ blogger || video creator || author || online instructor || YouTuber || web developer || freelancer

## Responses 1

Markdown supported · ⌘↵ to post

[Laszlo Tatai](https://hashnode.com/@LaszloTatai)

[Mar 3, 2021](https://hashnode.com/posts/the-unusual-of-javascript-arrays-and-their-length-property/603c31800dad7e6b99e21def/comment/603f0176fb37920a1fc6423d)

Thank U Brotha! :)

[Bello](https://hashnode.com/@techstack)

[Mar 3, 2021](https://hashnode.com/posts/the-unusual-of-javascript-arrays-and-their-length-property/603c31800dad7e6b99e21def/comment/603f0176fb37920a1fc6423d#reply-603f0202fb37920a1fc64251)

You welcome bro. I am happy you liked it.
