UNPKG

204 BJavaScriptView Raw
1export default function _classPrivateMethodGet(receiver, privateSet, fn) {
2 if (!privateSet.has(receiver)) {
3 throw new TypeError("attempted to get private field on non-instance");
4 }
5
6 return fn;
7}
\No newline at end of file