# JavaScript (ES6), 30 bytes _-1 thanks to @thejonymyster_ _-7 thanks to @Arnauld_ x=>x.replace(/11|0/,z=>!+z*11) Swaps the first instance of `11` and `0`, saving 1 byte when the program compresses itself. Takes the list of bytes as input, as a string.