index.js
function _set(obj, path, value) {
  var subpathes = path.split('.');
  while (subpathes.length - 1) {
    obj = obj[subpathes.shift()];
  }
  obj[subpathes.shift()] = value;
}
function _set(obj, path, value) {
  var subpathes = path.split('.');
  while (subpathes.length - 1) {
    obj = obj[subpathes.shift()];
  }
  obj[subpathes.shift()] = value;
}
function _set ( obj , path , value ) { var subpathes = path . split ( '.' ) ; while ( subpathes . length - 1 ) { obj = obj [ subpathes . shift ( ) ] ; } obj [ subpathes . shift ( ) ] = value ; }
Set object's value by provided nested path

@param {object} obj
@param {string} path
@param {*} value
@private
Set object s value by provided nested path