Code coverage report for string/lowerCase.js

Statements: 100% (6 / 6)      Branches: 100% (0 / 0)      Functions: 100% (3 / 3)      Lines: 100% (5 / 5)     

All files » string/ » lowerCase.js
1 2 3 4 5 6 7 8 9 10 11 121       1 17 17     1    
define(['../lang/toString'], function(toString){
    /**
     * "Safer" String.toLowerCase()
     */
    function lowerCase(str){
        str = toString(str);
        return str.toLowerCase();
    }
 
    return lowerCase;
});