javascript hex to binary

Solutions on MaxInterview for javascript hex to binary by the best coders in the world

showing results for - "javascript hex to binary"
Fabio
23 Sep 2020
1function hex2bin(hex){
2    return ("00000000" + (parseInt(hex, 16)).toString(2)).substr(-8);
3}