That isn’t directly possible.
You can just write
a.Prop3 = a.Prop1;
delete a.Prop1;
Related Contents:
- How to detect Safari, Chrome, IE, Firefox and Opera browser?
- Share data between AngularJS controllers
- jQuery Event Keypress: Which key was pressed?
- Parse query string in JavaScript [duplicate]
- How to create an array containing 1…N
- Get the last item in an array
- Converting JavaScript object with numeric keys into array
- Arrow function without curly braces
- Remove blank attributes from an Object in Javascript
- Repeat String – Javascript [duplicate]
- How to add hours to a Date object?
- Convert string with commas to array
- Get a pixel from HTML Canvas?
- When is the comma operator useful?
- Open URL in new window with JavaScript
- Is JavaScript an untyped language?
- stopPropagation vs. stopImmediatePropagation
- Basic Javascript promise implementation attempt
- Add A Year To Today’s Date
- Which ECMAScript 6 features imply strict mode?
- split string only on first instance of specified character
- Case-insensitive search
- How can I remove the decimal part from JavaScript number?
- Using Fetch API to Access JSON
- Add CORS header to an http request using Ajax
- Remembering state before app goes in foreground
- Given a string describing a Javascript function, convert it to a Javascript function
- Perform .join on value in array of objects
- jQuery – How can I temporarily disable the onclick event listener after the event has been fired?
- Determine if an element has a CSS class with jQuery
- Why is window (and unsafeWindow) not the same from a userscript as from a tag?
- Image manipulation and texture mapping using HTML5 Canvas?
- JavaScript – Get Browser Height
- How to listen for ‘props’ changes
- Why is React’s concept of Virtual DOM said to be more performant than dirty model checking?
- Get data from PHP array via AJAX and jQuery
- Angular 2 – How to pass URL parameters?
- What is the ProgId or CLSID for IE9’s Javascript engine (code-named “Chakra”)
- Mixins for ES6 classes, transpiled with babel
- How do I clean up and unload a WebGL canvas context from GPU after use?
- Get parent class name from child with ES6?
- window.getSelection() gives me the selected text, but I want the HTML
- Is it possible to style a title? (and with CSS or js?) [duplicate]
- es6 – import all named module without alias
- Using spread operator to update an object value
- jQuery call function from a string [duplicate]
- Find object having maximum value for the `id` property in an array of objects
- WebRTC – scalable live stream broadcasting / multicasting
- CSS Transition doesn’t work with top, bottom, left, right
- What event does JQuery $function() fire on?