Message from JavaScript discussions

March 2019

— Set async to true

— 

The successful callback doesn't need the comma at the end: look this link, the "converters" object doesn't have a comma because it's the last one

— Hey i just started learning react

— Had a rookie doubt

— Can we create two functions that render something inisde a separate js file and export it to the main file and get both those results from the two functions on our screen

Message permanent page

— Try to import this two functions (components) in main file.

— It didn't work.

— The global variable remains undefined.

— Try that: window.res = result;

— What do you mean? I need to assign value to result, not res.

— As you wrote it is wrong, take for example jquery which uses the alias $ and assigns it to the jQuery function

Message permanent page

— I have tried your method, but I still got undefined.