class_docstr: JavaScript language domain.
class_docstr_tok: ["JavaScript","language","domain","."]
code: def resolve_any_xref(
      self,
      env: BuildEnvironment,
      fromdocname: str,
      builder: Builder,
      target: str,
      node: pending_xref,
      contnode: Element,
  ) -> list[tuple[str, Element]]:
      mod_name = node.get("js:module")
      prefix = node.get("js:object")
      name, obj = self.find_obj(env, mod_name, prefix, target, None, 1)
      if not obj:
          return []
      return [
          (
              "js:" + self.role_for_objtype(obj[2]),  # type: ignore[operator]
              make_refnode(
                  builder, fromdocname, obj[0], obj[1], contnode, name
              ),
          )
      ]
  
imports: from __future__ import annotations
  import contextlib
  from typing import TYPE_CHECKING, Any, cast
  from docutils import nodes
  from docutils.parsers.rst import directives
  from sphinx import addnodes
  from sphinx.directives import ObjectDescription
  from sphinx.domains import Domain, ObjType
  from sphinx.domains.python import _pseudo_parse_arglist
  from sphinx.locale import _, __
  from sphinx.roles import XRefRole
  from sphinx.util import logging
  from sphinx.util.docfields import Field, GroupedField, TypedField
  from sphinx.util.docutils import SphinxDirective
  from sphinx.util.nodes import make_id, make_refnode, nested_parse_with_titles
label_desc: Use image node_id 9 for calling the JavaScriptDomain obj's underlying member method code with example usage: obj.resolve_any_xref(env, fromdocname, builder, target, node, contnode) and returns: list, list