Answer the question
In order to leave comments, you need to log in
Export/Import can't operate on data in console. What to do?
The problem is that I can't interact with the variable in the console, call methods with proto, etc.
Here are all the necessary screenshots:
Answer the question
In order to leave comments, you need to log in
And they shouldn't, the time property is not defined in the global scope, while you have modules, the scope of the module remains inside the module.
If you really want to, you can add a reference to the object to the global scope manually:
window.time = time;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question