Skip to content

Commit 30e2927

Browse files
author
Ian Gallagher
committed
javascript String.fromCharCode method
1 parent b15e92e commit 30e2927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolbox.py

+1
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ def time():
138138

139139
def displit(x, acc=[]):
140140
return displit(x[2:], acc+[(x[:2])]) if x else acc
141+
charCode = lambda input: 'String.fromCharCode(' + ','.join(str(ord(i)) for i in input) + ');'

0 commit comments

Comments
 (0)