def METHOD_NAME(self, node, indent):
    r"""Emit Javascript for given node.::
    >>> jsemit = JSNode(None).jsemit
    >>> jsemit(web.template.StatementNode("break"), "")
    'break;\n'
    >>> jsemit(web.template.AssignmentNode("x = 1"), "")
    'var x = 1;\n'
    """
    name = "jsemit_" + node.__class__.__name__
    if f := getattr(self, name, None):
        return f(node, indent)
    else:
        return ""