UNPKG
@aws/pdk
Version:
latest (0.26.15)
0.26.15
0.26.14
0.26.13
0.26.12
0.26.11
0.26.10
0.26.9
0.26.8
0.26.7
0.26.6
0.26.5
0.26.4
0.26.3
0.26.2
0.26.1
0.26.0
0.25.17
0.25.16
0.25.15
0.25.14
0.25.13
0.25.12
0.25.11
0.25.10
0.25.9
0.25.8
0.25.7
0.25.6
0.25.5
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.2
0.24.1
0.24.0
0.23.72
0.23.71
0.23.70
0.23.69
0.23.68
0.23.67
0.23.66
0.23.65
0.23.64
0.23.63
0.23.62
0.23.61
0.23.60
0.23.59
0.23.58
0.23.57
0.23.56
0.23.55
0.23.54
0.23.53
0.23.52
0.23.51
0.23.50
0.23.49
0.23.48
0.23.47
0.23.46
0.23.45
0.23.44
0.23.43
0.23.42
0.23.41
0.23.40
0.23.39
0.23.38
0.23.37
0.23.36
0.23.35
0.23.34
0.23.33
0.23.32
0.23.31
0.23.30
0.23.29
0.23.28
0.23.27
0.23.26
0.23.25
0.23.24
0.23.23
0.23.22
0.23.21
0.23.20
0.23.19
0.23.18
0.23.17
0.23.16
0.23.15
0.23.14
0.23.13
0.23.12
0.23.11
0.23.10
0.23.9
0.23.8
0.23.7
0.23.6
0.23.5
0.23.4
0.23.3
0.23.2
0.23.1
0.23.0
0.22.53
0.22.52
0.22.51
0.22.50
0.22.49
0.22.48
0.22.47
0.22.46
0.22.45
0.22.44
0.22.43
0.22.42
0.22.41
0.22.40
0.22.39
0.22.38
0.22.37
0.22.36
0.22.35
0.22.34
0.22.33
0.22.32
0.22.31
0.22.30
0.22.29
0.22.28
0.22.27
0.22.26
0.22.25
0.22.24
0.22.23
0.22.22
0.22.21
0.22.20
0.22.19
0.22.18
0.22.17
0.22.16
0.22.15
0.22.14
0.22.13
0.22.12
0.22.11
0.22.10
0.22.9
0.22.8
0.22.7
0.22.6
0.22.5
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.1
0.20.0
0.19.70
All documentation is located at: https://aws.github.io/aws-pdk
github.com/aws/aws-pdk
aws/aws-pdk
@aws/pdk
/
node_modules
/
es-abstract
/
2017
/
ToInteger.js
13 lines
(8 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
var
ES5ToInteger
=
require
(
'../5/ToInteger'
);
var
ToNumber
=
require
(
'./ToNumber'
);
// https://262.ecma-international.org/6.0/#sec-tointeger
module
.
exports
=
function
ToInteger
(
value
) {
var
number
=
ToNumber
(value);
return
ES5ToInteger
(
number
); };