UNPKG
webdriverio-automation
Version:
latest (1.0.0)
1.0.0
WebdriverIO-Automation android ios project
webdriverio-automation
/
node_modules
/
@babel
/
runtime
/
helpers
/
esm
/
classPrivateFieldLooseBase.js
7 lines
(6 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
default
function
_classPrivateFieldBase
(
receiver, privateKey
) {
if
(!
Object
.
prototype
.
hasOwnProperty
.
call
(receiver, privateKey)) {
throw
new
TypeError
(
"attempted to use private field on non-instance"
); }
return
receiver; }