lib/common.js
function coercePrimitiveToObject(obj) {
  if (isPrimitive(obj)) {
    obj = Object(obj);
  }
  // istanbul ignore next
  if (NO_KEYS_IN_STRING_OBJECTS && isString(obj)) {
    forceStringCoercion(obj);
  }
  return obj;
}
function coercePrimitiveToObject(obj) {
  if (isPrimitive(obj)) {
    obj = Object(obj);
  }
  // istanbul ignore next
  if (NO_KEYS_IN_STRING_OBJECTS && isString(obj)) {
    forceStringCoercion(obj);
  }
  return obj;
}
function coercePrimitiveToObject ( obj ) { if ( isPrimitive ( obj ) ) { obj = Object ( obj ) ; } // istanbul ignore next if ( NO_KEYS_IN_STRING_OBJECTS && isString ( obj ) ) { forceStringCoercion ( obj ) ; } return obj ; }
Make primtives types like strings into objects.
Make primtives types like strings into objects .