Sounds like the script might be running in a notebook? If you search your ArcGIS Online organization for "notebook", does anything come up? If so, you can open the notebook and view the script there.
Best,
Katie
“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek