mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 21:07:04 +02:00
10 lines
390 B
TypeScript
10 lines
390 B
TypeScript
// This file is imported for side effects only.
|
|
/* Prevent inadvertantly redefining certain window properties,
|
|
which are known to cause unrecoverable game errors when redefined.
|
|
The player is able to redefine these properties as writable if desired. */
|
|
Object.defineProperties(window, {
|
|
Number: { writable: false },
|
|
Object: { writable: false },
|
|
String: { writable: false },
|
|
});
|