classPrivateMethodGet.js 231 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } module.exports = _classPrivateMethodGet;