Issue
I'm using VS Code, and was wondering if the Jupyter Notebook support also supports Javascript. Looking around online it looks like it should, but I am unable to produce any output.
This python code shows output "test":
print("test")
This JS code does not show any output:
%%javascript
console.log("test");
This JS code also does not show any output:
%%javascript
element.text("test");
And because I'm desparate, I've also tried this:
%%javascript
element.text = "test";
I have no clue what it is I am doing wrong...
VS Code, Python extension and Jupyter extension are all up to date.
Solution
try using:
%%script node
console.log("test");
Answered By - GUS-code
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.