JS to determine test/beta/prod environment

rtoon
Community Contributor

I'm starting to dig into building custom JS. Is there a recommended method to determine whether the script is being run from the test, beta, or production environments? Would just checking the page URL be sufficient?

Labels (2)
0 Likes