-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpee.cjs
More file actions
17 lines (16 loc) · 711 Bytes
/
pee.cjs
File metadata and controls
17 lines (16 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Take a leak
function leak(mb) {
// Fill the toilet with pee
if (typeof window === "undefined") {
// A global toilet is used to make it harder for the poor garbage men to clean up all the pee
global.toilet = new Uint8Array(Math.floor(mb * 1024 * 1024)).fill(69);
} else {
// Pissing on someones windows will definitely be hard to clean up
window.toilet = new Uint8Array(Math.floor(mb * 1024 * 1024)).fill(69);
}
// The 69 is (the number of the beast - thanks github copilit)
// The 69 is also one of the fastest numbers I could fill the array with, tested on https://jsbench.me/z9l1b0ttf6
}
module.exports = {
leak // Share the pee with the world
}