Describe the bug
Apologies if this is a misunderstanding of kernel limitations.
I can import a C# variable into JavaScript without issues. However, if I declare a JS variable in a JS cell using either let or const, that variable does not seem to be registered in the variables section, is not available in the next cell (even if it's a JS cell), does not share correctly to C# or other kernels, and perhaps most interestingly, doesn't log out at the end of the same cell it was defined in if it was the closing value as in:
let jsVar = 42;
jsVar; // jsVar is not displayed after the cell
JavaScript otherwise appears to function just fine, but variable persistence and sharing just isn't working for me.
See https://github.com/IntegerMan/PolyglotNotebookTalk/blob/main/cs_js.dib for my sample notebook.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Screenshots

Describe the bug
Apologies if this is a misunderstanding of kernel limitations.
I can import a C# variable into JavaScript without issues. However, if I declare a JS variable in a JS cell using either
letorconst, that variable does not seem to be registered in the variables section, is not available in the next cell (even if it's a JS cell), does not share correctly to C# or other kernels, and perhaps most interestingly, doesn't log out at the end of the same cell it was defined in if it was the closing value as in:JavaScript otherwise appears to function just fine, but variable persistence and sharing just isn't working for me.
See https://github.com/IntegerMan/PolyglotNotebookTalk/blob/main/cs_js.dib for my sample notebook.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!aboutmagic command. ):Screenshots