2022-05-08 11:27:14 +03:00
|
|
|
global.id = (v) => v;
|
|
|
|
global.leak = (cb) => cb;
|
2022-05-10 06:21:43 +03:00
|
|
|
global.sideefffect = (() => {
|
|
|
|
let i = 0;
|
|
|
|
return () => {
|
|
|
|
console.log(`Side effect: ${i++}`);
|
|
|
|
};
|
|
|
|
})();
|
2022-05-19 07:33:11 +03:00
|
|
|
global.pass = () => console.log("PASS");
|