I have an object like this:
{
first_name: "acasc"
last_name: "acsac"
email: "acac"
mobile_number: "acac"
password: "acac"
confirm_password: "acac"
}
here is my requirement:
if the password and confirm password matches I have to delete the confirm_password. how can I do that.
delete obj.confirm_password