{"ScriptPreparationCode":"const callbacks = Array.from({ length: 1000 }, () =\u003E () =\u003E {})\r\nconst callback = () =\u003E {}\r\n\r\nfunction useEffectCallback(callback) {\r\n window.addEventListener(\u0027keydown\u0027, callback);\r\n window.removeEventListener(\u0027keydown\u0027, callback);\r\n}","TestCases":[{"Name":"Assigning once","Code":"useEffectCallback(callback)","IsDeferred":false},{"Name":"Assigning 1000","Code":"callbacks.forEach(callback =\u003E useEffectCallback(callback))","IsDeferred":false}]}