Updated self defending template #4

This commit is contained in:
sanex
2021-07-23 19:55:16 +03:00
parent 8a872dca9f
commit 89324521d0
5 changed files with 5 additions and 5 deletions
@@ -9,7 +9,7 @@ export function SelfDefendingNoEvalTemplate (): string {
{globalVariableTemplate}
return that
.RegExp('(.*)+\\\\S}')
.RegExp('(.*)+.*}')
.test({selfDefendingFunctionName});
});
@@ -9,7 +9,7 @@ export function SelfDefendingTemplate (): string {
return {selfDefendingFunctionName}
.constructor('return /" + this + "/')
.call()
.constructor('(.*)+\\\\S}')
.constructor('(.*)+.*}')
.test({selfDefendingFunctionName});
});