[Entry] Make 'freeze' and 'seal' do nothing (#152)
This commit is contained in:
parent
d539e5a59a
commit
2cc1f8d76c
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ import { ClientInfoManager } from "@lib/native";
|
||||||
// This logs in the native logging implementation, e.g. logcat
|
// This logs in the native logging implementation, e.g. logcat
|
||||||
console.log("Hello from Vendetta!");
|
console.log("Hello from Vendetta!");
|
||||||
|
|
||||||
|
// Make 'freeze' and 'seal' do nothing
|
||||||
|
Object.freeze = Object;
|
||||||
|
Object.seal = Object;
|
||||||
|
|
||||||
import(".").then((m) => m.default()).catch((e) => {
|
import(".").then((m) => m.default()).catch((e) => {
|
||||||
console.log(e?.stack ?? e.toString());
|
console.log(e?.stack ?? e.toString());
|
||||||
alert([
|
alert([
|
||||||
|
|
Loading…
Reference in a new issue