I know... I've had this a few times as well - I thought it might have been Linux ;)
So if I did:
a.indexOf('B')
that would have the problem?
Hmm. Nope. Can you remember which post you copied recently that had the problem on it, and I can try and track it down.
Worst case I can make the Web IDE ignore 0xAD in pasted data I guess. I'm not sure there's a valid reason to want to paste that in.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I know... I've had this a few times as well - I thought it might have been Linux ;)
So if I did:
that would have the problem?
Hmm. Nope. Can you remember which post you copied recently that had the problem on it, and I can try and track it down.
Worst case I can make the Web IDE ignore 0xAD in pasted data I guess. I'm not sure there's a valid reason to want to paste that in.