UNPKG

qcobjects-docs

Version:

The official app and website for documentation of QCObjects

24 lines (18 loc) 404 B
### Export Put a symbol (var or function) in the global scope. #### Usage: ```javascript Export('name of symbol'); ``` #### Example: ```javascript (()=>{ // this is local scope let someFunction = (someLocalParam)=>{ console.log(someLocalParam); }; Export(someFunction); // now, someFunction is in the top level scope. })(); // this is the top level scope someFunction('this works'); ```