========================================================================================================= Ask ChatGPT "What are alternative ways to refer to window.Function?" ========================================================================================================= Conclusion: It seems the following is the best way to invoice 'Function': ---------------------------------------------------------------------- (()=>{}).constructor("console.log('Test()=>{}')")(); ---------------------------------------------------------------------- It prevents hackers from hooking a custom function/proxy to window.Function.