9 lines
332 B
Plaintext
9 lines
332 B
Plaintext
"use strict";
|
|
|
|
exports._ = exports._class_extract_field_descriptor = _class_extract_field_descriptor;
|
|
function _class_extract_field_descriptor(receiver, privateMap, action) {
|
|
if (!privateMap.has(receiver)) throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
|
|
return privateMap.get(receiver);
|
|
}
|