How do I change the scene for a game using javascript

i am new to Gdevelop javascript and to get used to it I’m making a simple dodging game. The issue I am having is when i die I want to change the scene to a death scene and I have not found an answer online.

I think this is what you’re after

It’s linked in this documentation page