Homework of TW, it's a test of javascript using jasmine;