Horje
converting binary to text js Code Example
converting binary to text js
function binaryAgent(str) {

var newBin = str.split(" ");
var binCode = [];

for (i = 0; i < newBin.length; i++) {
    binCode.push(String.fromCharCode(parseInt(newBin[i], 2)));
  }
return binCode.join("");
}
binaryAgent('01000001 01110010 01100101 01101110 00100111 01110100');
//translates to "Aren't"




Javascript

Related
move list items up and down using javascript Code Example move list items up and down using javascript Code Example
javascript array of all characters Code Example javascript array of all characters Code Example
fullscreen electron Code Example fullscreen electron Code Example
how to vibrate phone using javascript Code Example how to vibrate phone using javascript Code Example
transformorigin gsap Code Example transformorigin gsap Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8