packages/babel-helper-replace-supers/src/index.js
function getPrototypeOfExpression(objectRef, isStatic, file, isPrivateMethod) {
  objectRef = t.cloneNode(objectRef);
  const targetRef =
    isStatic || isPrivateMethod
      ? objectRef
      : t.memberExpression(objectRef, t.identifier("prototype"));

  return t.callExpression(file.addHelper("getPrototypeOf"), [targetRef]);
}
function getPrototypeOfExpression(objectRef, isStatic, file, isPrivateMethod) {
  objectRef = t.cloneNode(objectRef);
  const targetRef =
    isStatic || isPrivateMethod
      ? objectRef
      : t.memberExpression(objectRef, t.identifier("prototype"));

  return t.callExpression(file.addHelper("getPrototypeOf"), [targetRef]);
}
function getPrototypeOfExpression ( objectRef , isStatic , file , isPrivateMethod ) { objectRef = t . cloneNode ( objectRef ) ; const targetRef = isStatic || isPrivateMethod ? objectRef : t . memberExpression ( objectRef , t . identifier ( "prototype" ) ) ; return t . callExpression ( file . addHelper ( "getPrototypeOf" ) , [ targetRef ] ) ; }
Creates an expression which result is the proto of objectRef.

@example <caption>isStatic === true</caption>

helpers.getPrototypeOf(CLASS)

@example <caption>isStatic === false</caption>

helpers.getPrototypeOf(CLASS.prototype)
Creates an expression which result is the proto of objectRef .