code: def test_JavaScript() -> None:
      obj = buc.JavaScript("code")
      assert isinstance(obj, buc.Inline)
      assert obj.code == "code"
      assert obj.file is None
      assert obj.lang == "javascript"
  
file_path: bokeh/tests/unit/bokeh/util/test_compiler.py
imports: from __future__ import annotations
  import pytest
  import json
  import os
  from unittest.mock import MagicMock, patch
  import bokeh.util.compiler
label_desc: Use image node_id 6 for calling a global function with example usage: test_JavaScript() without return types