#NEWLINE# def line_javascript( self , code ) : #NEWLINE# #INDENT# '\n        %javascript CODE - send code as JavaScript\n\n        This line magic will execute the CODE on the line as\n        JavaScript in the browser.\n\n        Example:\n            %javascript console.log("Print in the browser console")\n\n        ' #NEWLINE# jscode = Javascript ( code ) #NEWLINE# self . kernel . Display ( jscode )