diff --git a/docs/source/comms.rst b/docs/source/comms.rst index 16aec45f8..7c292d78b 100644 --- a/docs/source/comms.rst +++ b/docs/source/comms.rst @@ -88,8 +88,7 @@ And then open the comm from the frontend: .. code-block:: javascript - comm = Jupyter.notebook.kernel.comm_manager.new_comm('my_comm_target', - {'foo': 6}) + const comm = Jupyter.notebook.kernel.comm_manager.new_comm('my_comm_target', {'foo': 6}) // Send data comm.send({'foo': 7})