mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
546 B
JavaScript
9 lines
546 B
JavaScript
|
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
|
||
|
import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
|
||
|
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
|
||
|
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
||
|
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||
|
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
||
|
classApplyDescriptorSet(receiver, descriptor, value);
|
||
|
return value;
|
||
|
}
|