Code coverage report for number/toUInt.js

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

All files » number/ » toUInt.js
1 2 3 4 5 6 7 8 9 10 11 12 13 141           1 14     1      
define(function () {
 
    /**
     * "Convert" value into a 32-bit unsigned integer.
     * IMPORTANT: Value will wrap at 2^32.
     */
    function toUInt(val){
        return val >>> 0;
    }
 
    return toUInt;
 
});