old_contents: "use strict";
  
  module.exports = function overwriteObjectFieldValue(abstractPath, value, object, delimiter) {
      delimiter = undefined !== delimiter ? delimiter : '.';
  
      const indexes = abstractPath.split(delimiter);
      const lastPathIndex = indexes.length - 1;
      var obj = object;
  
      for (var i = 0; i <= lastPathIndex; i++) {
          const index = indexes[i];
  
          if (undefined === obj[index] || !(obj[index] instanceof Object)) {
              obj[index] = {};
          }
  
          if (i === lastPathIndex) {
              obj[index] = value;
  
              break;
          }
  
          obj = obj[index];
      }
  
      return object;
  };
  
new_contents: module.exports = function overwriteObjectFieldValue(abstractPath, value, object, delimiter) {
      delimiter = undefined !== delimiter ? delimiter : '.';
  
      const indexes = abstractPath.split(delimiter);
      const lastPathIndex = indexes.length - 1;
      var obj = object;
  
      for (var i = 0; i <= lastPathIndex; i++) {
          const index = indexes[i];
  
          if (undefined === obj[index] || !(obj[index] instanceof Object)) {
              obj[index] = {};
          }
  
          if (i === lastPathIndex) {
              obj[index] = value;
  
              break;
          }
  
          obj = obj[index];
      }
  
      return object;
  };
  
subject: Update overwrite_object_field_value.js