### Expected Behavior Scratch should not crash, especially in the thread (because it does not show the blue screen and consume memory by spamming browser console) ### Actual Behavior It crashes ### Steps to Reproduce Make a procedure named "hasOwnProperty" or something else in the object prototype. ### Operating System and Browser any ### Fixes Procedure related cache attributes need to use prototypeless object or Map. This is different from #2332 because modifying json is not necessary for this to happen.