Answers for "removeProperty(obj, prop)"

0

removeProperty(obj, prop)

function removeProperty(obj, prop) {
if (obj[prop] != undefined) {
    delete obj[prop];
    return true;
} else {
    return false;
}
return null;
}
Posted by: Guest on September-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language