With ES6, you may deconstruct each object to create new one without named attributes:
const newArray = array.map(({dropAttr1, dropAttr2, ...keepAttrs}) => keepAttrs)
More Related Contents:
- How do I correctly clone a JavaScript object?
- How can I check if an object is an array? [duplicate]
- Length of a JavaScript object
- Is Chrome’s JavaScript console lazy about evaluating objects?
- How to return value from an asynchronous callback function? [duplicate]
- __proto__ VS. prototype in JavaScript
- How can I display a JavaScript object?
- Check if a value is an object in JavaScript
- Why can I add named properties to an array as if it were an object?
- Anonymous class instance —- is it a bad idea?
- Find object by id in an array of JavaScript objects
- Sorting arrays numerically by object property value
- Getting the first index of an object
- What is the difference between native objects and host objects?
- Array Like Objects in Javascript
- Length of a JavaScript associative array
- Setting a variable equal to another variable [duplicate]
- Get the value of an object with an unknown single key in JS
- Is there a limit on length of the key (string) in JS object?
- Using reserved words as property names, revisited
- What is the behavior of typing {a:1} giving 1, and {a:1, b:2} giving an error in a Javascript console?
- Encoding Javascript Object to Json string
- Chrome re-ordering object keys if numerics, is that normal/expected
- Why can’t I set a JavaScript function’s name property?
- Is this a good way to clone an object in ES6?
- How to convert array of key–value objects to array of objects with a single property?
- What’s the JavaScript’s Object.prototype behavior?
- JavaScript/JSON: Get unknown property of an object
- JS associative object with duplicate names
- Array of object deep comparison with lodash