Top "Javascript-objects" questions

Use this tag for questions related to JavaScript objects.

Are Javascript arrays primitives? Strings? Objects?

Are arrays merely objects in disguise? Why/why not? In what way(s) are they (such/not)? I have always …

javascript arrays javascript-objects
how to map more than one property from array of object in javascript

I have an array of Object as follows: var obj = [ {a: 1, b: 5, c: 9}, {a: 2, b: 6, c: 10}, {a: 3, b: 7, c: 11}, {a: 4, …

javascript arrays object filter javascript-objects
Exporting all images in a Google Earth Engine image collection (Google Earth Engine API)

I need to download a bunch of Landsat images for my thesis. My problem seems simple but I don't have …

javascript javascript-objects google-code google-earth-engine
JavaScript, overwrite object without losing reference

Application I am working on a simple web application that is built on top of AngularJS. The application should be …

javascript javascript-objects
Error in accessor property: can't redefine non-configurable property 'status'

I'm trying to define an object and create an accessor property for it. HTML: <input type='hidden' id='crudMode' …

javascript properties javascript-objects defineproperty
Changing an Object's Type in JavaScript

I have an array of existing object defined with JSON. The objects are obviously of the Object type. How do …

javascript javascript-objects
Get the value of an object with an unknown single key in JS

How can I get the value of an object with an unknown single key? Example: var obj = {dbm: -45} I …

javascript javascript-objects
Using JavaScript what's the quickest way to recursively remove properties and values from an object?

I need to find the fastest way to remove all $meta properties and their values from an object, for example: { "…

javascript object recursion javascript-objects
Is there any way to prevent override/overwrite of functions/variables in singleton instance?

Consider this pseudo code: (function(window){ var options = { /*where everything goes */ }; var instance = (function(options){ for (var i in options){ …

javascript singleton javascript-objects overwrite