ToUint32.js 184 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
'use strict';

var ToNumber = require('./ToNumber');

// http://www.ecma-international.org/ecma-262/5.1/#sec-9.6

module.exports = function ToUint32(x) {
	return ToNumber(x) >>> 0;
};