UNPKG
vanzy-protect
Version:
latest (1.0.5)
2.5.1
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Epic Obfuscator Yeahhh
t.me/vashinty
vanzy-protect
/
src
/
traverse
/
.trashed-1743813072-unaryExpression.ts
6 lines
(5 loc)
•
226 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ comment }
from
'../obfuscate/comment'
import
{ rightExpression }
from
'./rightExpression'
export
function
unaryExpression
(
expr: any
) {
return
expr.
operator
+
comment
(
1
) +
'('
+
rightExpression
(expr.
argument
) +
')'
}