lib/util/index.js
function setPropertyOfPath(obj, path, value) {
    const [child, last] = getLeafOfPath(obj, path);
    if (child && last) {
        child[last] = value;
    }
}
function setPropertyOfPath(obj, path, value) {
    const [child, last] = getLeafOfPath(obj, path);
    if (child && last) {
        child[last] = value;
    }
}
function setPropertyOfPath ( obj , path , value ) { const [ child , last ] = getLeafOfPath ( obj , path ) ; if ( child && last ) { child [ last ] = value ; } }
Sets a value to object by path
@memberOf util
Sets a value to object by path