binaire à ascii javascript

const binaryAgent = str => str.replace(/\d+./g, char => String.fromCharCode(`0b${char}`));
Yawning Yacare