That isn’t directly possible.
You can just write
a.Prop3 = a.Prop1;
delete a.Prop1;
More Related Contents:
- Passing variable to function in javascript and jQuery
- Reloading a single div in an html page [closed]
- Auto Uploading file
- What does this shorthand mean in JavaScript? [duplicate]
- Why does JavaScript handle the plus and minus operators between strings and numbers differently?
- How To Save Canvas As An Image With canvas.toDataURL()?
- Declaring javascript object method in constructor function vs. in prototype [duplicate]
- Javascript: how to dynamically create nested objects using object names given by an array
- event.preventDefault() vs. return false (no jQuery)
- Why is ‘this’ undefined inside class method when using promises? [duplicate]
- Create an array with random values
- JSON left out Infinity and NaN; JSON status in ECMAScript?
- Import JSON file in React
- How do I find the absolute position of an element using jQuery?
- How to get the start and end points of selection in text area?
- How to take screen shot of current webpage using Javascript/JQuery?
- update textarea value, but keep cursor position
- Save canvas as jpg to desktop [duplicate]
- IIFE invocation in JavaScript
- Add names of the states to a map in d3.js
- Using for await…of with synchronous iterables
- How can I prevent a click on a ‘#’ link from jumping to top of page?
- jquery/javascript: function(e){…. what is e? why is it needed? what does it actually do/accomplish?
- Compare two date formats in javascript/jquery
- D3 Non-Continuous Dates Domain Gives Gaps on X-Axis
- Jquery delay execution of script
- Plain Javascript as Angular 2 service
- How to disable ESLint in vue-cli?
- Javascript – insert an array inside another array
- innerHTML removes attribute quotes in Internet Explorer