d2796563019cd1f0897160f16a08f9b36c4781c1
[platform/framework/web/crosswalk-tizen.git] /
1
2
3     /**
4      * "Convert" value into a 32-bit unsigned integer.
5      * IMPORTANT: Value will wrap at 2^32.
6      */
7     function toUInt(val){
8         // we do not use lang/toNumber because of perf and also because it
9         // doesn't break the functionality
10         return val >>> 0;
11     }
12
13     module.exports = toUInt;
14
15