var list = [
    { date: '12/1/2011', reading: 3, id: 20055 },
    { date: '13/1/2011', reading: 5, id: 20053 },
    { date: '14/1/2011', reading: 6, id: 45652 }
];

and then access it:

alert(list[1].date);
Answer from Darin Dimitrov on Stack Overflow
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Array
Array - JavaScript | MDN
2 days ago - The array's object properties and list of array elements are separate, and the array's traversal and mutation operations cannot be applied to these named properties. Array elements are object properties in the same way that toString is a property (to be specific, however, toString() is a method). Nevertheless, trying to access an element of an array as follows throws a syntax error because the property name is not valid: ... JavaScript ...
Discussions

How to create a list of class objects
🌐 r/learnjavascript
5
1
March 7, 2023
Could you explain to me the built-in objects in JavaScript?
Built-in objects are all the objects that already exist when JavaScript starts running. Some built-ins are specific to the language itself like Math, Array, and Date, while others are specific to the current environment like window and document in web browsers or global and process in NodeJS. There are a lot of built-ins depending on where you're running your code. For example: JavaScript built-ins: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects Web API/browser built-ins (more or less): https://developer.mozilla.org/en-US/docs/Web/API#interfaces More on reddit.com
🌐 r/learnjavascript
2
1
October 11, 2022
Array of objects, best way to do it.
IMO, when people say "Your code looks like shit" and don't offer to help improve it, their opinion doesn't mean much. They aren't trying to help you, they're trying to bolster their own ego. More on reddit.com
🌐 r/javascript
31
35
November 9, 2018
Recommended way for Django to Pass objects into JS

I've used both techniques (JSON rendered server side in templates, and JSON served from AJAX requests) and I think each one is valid and has its place.

In general though I think serving JSON from AJAX requests is cleaner design and I try to restrict server-side JSON rendering to a few specific use cases where it is helpful, like for example prepopulating JSON data that you know in advance will be needed on every page.

More on reddit.com
🌐 r/django
24
10
October 23, 2015
🌐
W3Schools
w3schools.com › js › js_arrays.asp
JavaScript Arrays
An Array is an object type designed for storing data collections. ... Elements: An array is a list of values, known as elements.
🌐
daily.dev
daily.dev › home › blog › webdev › create array of objects javascript: a beginner's guide
Create Array of Objects JavaScript: A Beginner's Guide | daily.dev
May 25, 2026 - For more complex tasks, you can use methods like .forEach() and .map() together with loops or .reduce() to create objects from lists. Practicing these skills will help you manage data better in your web projects. You could start by creating an array of objects for something you like, such as video games, books, or desserts. Play around with the information you store and use the methods we talked about to interact with your data. Getting comfortable with arrays and objects will make a big difference in your JavaScript projects.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects
Standard built-in objects - JavaScript | MDN
May 22, 2026 - These objects represent collections which use keys. The iterable collections (Map and Set) contain elements which are easily iterated in the order of insertion. ... These objects represent and interact with structured data buffers and data coded using JavaScript Object Notation (JSON).
🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › JavaScript › Guide › Working_with_objects
Working with objects - JavaScript | MDN
Objects in JavaScript, just as in many other programming languages, can be compared to objects in real life. In JavaScript, an object is a standalone entity, with properties and type. Compare it with a cup, for example. A cup is an object with properties. A cup has a color, a design, weight, a material it is made of, etc.
Find elsewhere
🌐
W3Schools
w3schools.com › js › js_objects.asp
JavaScript Objects
Getters and setters allow you to define Object Accessors (Computed Properties). ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: sales@w3schools.com · If you want to report an error, or if you want to make a suggestion, send us an e-mail: help@w3schools.com · HTML Tutorial CSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial
🌐
Medium
medium.com › @lama.ibrahim96 › 5-ways-to-find-a-value-in-an-array-of-objects-in-javascript-130fa4856e53
5 ways to find a value in an array of objects in Javascript | by Lama Ibrahim | Medium
April 5, 2023 - Array.filter() returns an array of all the objects that pass the test implemented by the provided function, if we want to return only the first user we can return index 0 of the returned array.
🌐
Quora
quora.com › What-are-objects-in-JavaScript
What are objects in JavaScript? - Quora
Answer (1 of 2): There are two ways to go into the Objects mode. One is the full nonsense mode, that is the C++, OOPS mode, where everything needs to be hidden and states and so on and so forth. Why OO Sucks by Joe Armstrong The other, no-nonsense type is treating Objects as nothing but propert...
🌐
Oracle
docs.oracle.com › javase › 8 › docs › api › java › util › ArrayList.html
ArrayList (Java Platform SE 8 )
1 week ago - If multiple threads access an ArrayList ... the list structurally, it must be synchronized externally. (A structural modification is any operation that adds or deletes one or more elements, or explicitly resizes the backing array; merely setting the value of an element is not a structural modification.) This is typically accomplished by synchronizing on some object that naturally ...
🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › JavaScript › Guide › Data_structures
JavaScript data types and data structures - JavaScript | MDN
Programming languages all have built-in data structures, but these often differ from one language to another. This article attempts to list the built-in data structures available in JavaScript and what properties they have. These can be used to build other data structures.
🌐
Wikibooks
en.wikibooks.org › wiki › JavaScript › Objects
JavaScript/Objects - Wikibooks, open books for an open world
To get a list of all existing keys, use the method Object.keys(). It returns an array whose elements are strings. Those strings may be used in a loop to access the values. Because you need such loops in many cases, JavaScript offers a special language element for that situation.
🌐
Scaler
scaler.com › home › topics › what is an array of objects in javascript?
What is an Array of Objects in JavaScript? - Scaler Topics
April 2, 2024 - An array in javascript is the collection of multiple types of data at a single place in order, and an array of objects in javascript is a collection of homogenous data, that stores a sequence of numbered objects at a single place.
🌐
Code The Web
codetheweb.blog › javascript-objects
JavaScript Objects • Code The Web
June 9, 2018 - That’s why we have things like JSON.parse: we’re simply parsing (interpreting) a JavaScript object. You can find out more about JSON at json.org (but don’t overload your brain, it’s not that relevant to this tutorial). With an array, if you know its size then you know how to find all the values. For example — in an array with a length of 4, you know that to find all the values you could reference array[0], array[1], array[2], and array[3]. However, we can’t do this with an object because we don’t know what all the keys are — they don’t follow a pattern like 0,1,2,3 because we can set them to whatever we like.
🌐
Artnews
artnews.com › art-news › news › diego-rivera-grandson-donation-museo-anahuacalli-mexico-city-1234782182
Diego Rivera’s Grandson Donates 150,000 Objects to Major Mexico City Museum
April 21, 2026 - As first reported by The Art Newspaper, the gift spans centuries, from 16th-century ceramics to textiles, photographs, wooden objects, prints, and archival material tied to Rivera and his circle. The works will be transferred in stages over the coming months, beginning with ceramics and followed by manuscripts and correspondence, with completion expected by the end of the year.
🌐
DEV Community
dev.to › austinbh › objects-in-javascript-b8c
Objects in JavaScript - DEV Community
December 2, 2019 - Objects, in JavaScript, is it’s most important data-type and forms the building blocks for modern JavaScript. Let's take a look at one of the other main properties of a JavaScript object, again from Geeks for Geeks' JavaScript Objects section. An object, is a reference data type.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Object › fromEntries
Object.fromEntries() - JavaScript | MDN
October 30, 2025 - const entries = new Map([ ["foo", "bar"], ["baz", 42], ]); const obj = Object.fromEntries(entries); console.log(obj); // Expected output: Object { foo: "bar", baz: 42 } ... An iterable, such as an Array or Map, containing a list of objects.
🌐
CodePen
codepen.io › quietplace › pen › eMYPXZ
JavaScript Objects
Note: your code becomes un-folded during formatting. ... Visit your global Editor Settings. ... <h1>JavaScript Objects</h1> <p>Objects are similar to arrays, except that instead of using indexes to access and modify their data, you access the data in objects through what are called properties.
🌐
Medium
medium.com › @pawan2505 › javascript-objects-bd8bd84a8720
JavaScript Objects. JavaScript is a versatile and powerful… | by PΛWΛN | Medium
September 29, 2024 - In JavaScript, an object is a collection of properties, where a property is a key-value pair. Each property can hold a value of any data type, such as strings, numbers, arrays, or functions.
🌐
Jack Franklin
jackfranklin.co.uk › blog › introduction-to-javascript-objects
Introduction to JavaScript Objects - Jack Franklin
In reality, the vast majority of developers use the second method - it's a lot shorter whilst still being clear as to what it does. As a side note, this is identical to how we might create new arrays, either through var z = new Array(); or through simply var z = []. Now we have this object, we can define properties (or keys) and values.