[jslint/jasmine] First function, first tests