We have a strange bug on the latest version of Chrome (75) that replace S to S
console.log(
'AZERTYUIOPQSDFGHJKLMWXCVBN'.replace(/[\u00A0-\u9999<>&]/gim, char => `&#${char.charCodeAt(0)};`)
)
//AZERTYUIOPQSDFGHJKLMWXCVBN
Do someone have any idea if the code is the problem or Chrome is the problem?