Last active
September 17, 2024 10:40
-
-
Save maxsimych/8bf96b96fd242576fc8001bf65618c40 to your computer and use it in GitHub Desktop.
Revisions
-
maxsimych revised this gist
Sep 17, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ const toBinStr = num => (num >>> 0).toString(2).padStart(32,'0').match(/.{1,8}/g).join(' ') -
maxsimych created this gist
Sep 17, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ const toBinStr = (num) => (num >>> 0).toString(2).padStart(32,'0').match(/.{1,8}/g).join(' ')