UNPKG
aureooms-js-integer
Version:
latest (1.0.0)
1.0.0
0.3.2
0.3.1
0.3.0
integer code bricks for JavaScript
aureooms.github.io/js-integer
aureooms/js-integer
aureooms-js-integer
/
src
/
1-new
/
convert
/
_chr.js
8 lines
(4 loc)
•
128 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
export
function
_chr
(
x
) {
if
( x <
10
)
return
String
.
fromCharCode
(
48
+ x ) ;
return
String
.
fromCharCode
(
87
+ x ) ; }