Solved
Forum Discussion
mengbinhao
9 months agoContributor
Could you show me a simple example? After I define a static class, How do I use it?
Run static class first , then other testcase can get real-time value of Object inited by this static class?
rraghvani
Champion Level 3
9 months agoThere's a number of examples shown here https://stackoverflow.com/questions/1479319/simplest-cleanest-way-to-implement-a-singleton-in-javascript which uses singleton class
- mengbinhao9 months agoContributor
I know how to define static class or single design pattern, I just don't know how to get static class value in TestCompelte