UNPKG
voluptasvelit
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
JavaScript obfuscator
github.com/AmandaReichert/voluptasvelit
AmandaReichert/voluptasvelit
voluptasvelit
/
src
/
templates
/
GlobalVariableNoEvalTemplate.ts
15 lines
(14 loc)
•
357 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** * @returns {string} */
export function
GlobalVariableNoEvalTemplate
():
string
{
return
`
var
that = (
typeof
window !==
'undefined'
? window : (
typeof
process ===
'object'
&&
typeof
require ===
'function'
&&
typeof
global
===
'object'
) ?
global
:
this
); `; }