fix(es/helpers): Fix the name of _classPrivateFieldLooseBase (#4061)

This commit is contained in:
Donny/강동윤 2022-03-17 17:19:30 +09:00 committed by GitHub
parent 626afa180b
commit f8a3849299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
function _classPrivateFieldBase(receiver, privateKey) {
function _classPrivateFieldLooseBase(receiver, privateKey) {
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
throw new TypeError("attempted to use private field on non-instance");
}