There is something wrong with the examples in this chapter
Super global variable ¥GLOBALS cannot get variables outside the function inside the function. Variables outside the function need to be declared with the global key. Please correct it!
Did you use the editor on the web page? There is something wrong with this editor, but I don't know what is disabled on this page. You can try the sample code locally and the local output is successful!