Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(function(oHandler) {
oHandler.data.Name="NewName";
return(o.save());
}).then(function(oHandler) {
console.log(oHandler.data.Name); //NewName