I'm not a professional programmer, but I'm very interested in game development. I've studied Construct 3 extensively and even tried making my own games. However, I've encountered a problem. The code I wrote using event tables in Construct 3 and the code I wrote using JavaScript in AI produce the same result. So, my question is: what's the difference between these two methods?