36bbdadd059d721c5d9e9c53faeab4c7ba33735d
[platform/framework/web/crosswalk-tizen.git] /
1 define(function () {
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     return toUInt;
14
15 });