def node_raise_stmt(self, node):
        jsvars = self.jsvars.copy()
        args = []
        for child in node.children[1:]:
            if isinstance(child, Leaf) and child.value == ',':
                continue
            args.append(self.dispatch(child))
        args = ', '.join([str(a) for a in args])
        jsvars.update(locals())
        return "return %(builtin)s['raise'](%(args)s)" % jsvars
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.node_raise_stmt/original