def substitute_js_chars(self, m):
        c = m.group(0)
        i = ord(c)
        if i < 32:
            return '\\x%02X' % i
        if ["'", '"', '<', '>', '\\'] in c:
            return '\\x%02X' % i
        return c
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.substitute_js_chars/swapped operands of `in`