Javascript in master slide

Hello, To do a test I write the following code: console.log (prez.muted ());
When I put this code in a master slide in the loading event it does not work, but when I put this code in a normal slide it works
What’s the problem ?

Hi Mecanicus,

Actually, the events On Load/On Unload of the master slide are not run when loading project. However, the events of normal slides will be inherited from master slides. So, please put your event in appropriate layouts, then creating normal slides from those layouts.