UNPKG

theorem.js

Version:

A Math library for computation in JavaScript

6 lines (5 loc) 131 B
bin2str(txt) { return txt.replace(/\s*[01]{8}\s*/g, function(bin) { return String.fromCharCode(parseInt(bin, 2)) }) }