source:
imaps-frontend/node_modules/es-abstract/2016/ToInt32.js@
d565449
Last change on this file since d565449 was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 173 bytes |
Rev | Line | |
---|---|---|
[d565449] | 1 | 'use strict'; |
2 | ||
3 | var ToNumber = require('./ToNumber'); | |
4 | ||
5 | // http://262.ecma-international.org/5.1/#sec-9.5 | |
6 | ||
7 | module.exports = function ToInt32(x) { | |
8 | return ToNumber(x) >> 0; | |
9 | }; |
Note:
See TracBrowser
for help on using the repository browser.