This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
22f33d4004
RosettaCodeData
/
Task
/
Character-codes
/
JavaScript
/
character-codes-1.js
3 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Just another update
2015-02-20 00:35:01 -05:00
console
.
log
(
'a'
.
charCodeAt
(
0
)
)
;
// prints "97"
console
.
log
(
String
.
fromCharCode
(
97
)
)
;
// prints "a"
Reference in a new issue
Copy permalink