Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

char to binary in js

let char c = 'c';

console.log( char.charCodeAt(0).toString(2) ) // 1100011
 
PREVIOUS NEXT
Tagged: #char #binary #js
ADD COMMENT
Topic
Name
7+3 =