function mergeHook (
  parentVal,
  childVal
) {
  var res = childVal