Examples of testing JavaSCript