mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-14 16:17:53 +00:00
Init
This commit is contained in:
1 parent
b5c881f56f
commit
6ba2247509
4280 files changed
+484929
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
function _classPrivateFieldGet(receiver, privateMap) {
|
||||
var descriptor = privateMap.get(receiver);
|
||||
|
||||
if (!descriptor) {
|
||||
throw new TypeError("attempted to get private field on non-instance");
|
||||
}
|
||||
|
||||
if (descriptor.get) {
|
||||
return descriptor.get.call(receiver);
|
||||
}
|
||||
|
||||
return descriptor.value;
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldGet;
|
||||
Reference in new issue
Block a user