---
title: "Discussion on \"Negative Indexing in JS is a thing/ Getting to know proxies....\" | Hashnode"
description: "Discussion on \"Negative Indexing in JS is a thing/ Getting to know proxies....\". Is it not enabled by default??\nlet arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\n\nconsole.log(arr[-1]);  // we get undefined onto the console\n\nSo why does on accessing arr[-1] return undefined?\n\nJavaScript does not support negative indexing by out of the bo..."
url: "https://hashnode.com/posts/negative-indexing-in-js-is-a-thing-getting-to-know-proxies/67be32a8c71be5df5d562dd8"
---

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

Discussion

# [Negative Indexing in JS is a thing/ Getting to know proxies....](https://de5ash1zh.hashnode.dev/negative-indexing-in-js-is-a-thing-getting-to-know-proxies?utm_source=hashnode&utm_medium=feed)

Is it not enabled by default?? let arr = \[1, 2, 3, 4, 5, 6, 7, 8, 9, 10\]; console.log(arr\[-1\]); // we get undefined onto the console So why does on accessing arr\[-1\] return undefined? JavaScript does not support negative indexing by out of the bo...

Feb 25, 2025 · 3 min read · de5ash1zh.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Devashish](https://hashnode.com/@devzshrc)

@devzshrc

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

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
