porffor 0.37.21 → 0.37.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -525,14 +525,12 @@ local.set ${key}`;
525
525
  };
526
526
 
527
527
 
528
- export const __Object_defineProperty = (target: any, prop: any, descriptor: any) => {
528
+ export const __Object_defineProperty = (target: any, prop: any, desc: any) => {
529
529
  if (!Porffor.object.isObject(target)) throw new TypeError('Target is a non-object');
530
- if (!Porffor.object.isObject(descriptor)) throw new TypeError('Descriptor is a non-object');
530
+ if (!Porffor.object.isObject(desc)) throw new TypeError('Descriptor is a non-object');
531
531
 
532
532
  const p: any = ecma262.ToPropertyKey(prop);
533
533
 
534
- const desc: object = descriptor;
535
-
536
534
  // base keys
537
535
  let configurable: any = desc.configurable;
538
536
  let enumerable: any = desc.enumerable;