Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

export javascript

//There two types of imports
export default class || function || variable
//When you use export default, export one thing only and import something like this:
import thing from "path"
//-------------------------------------
export { class || function || variable }
//With this we can especify what we want import
import { thing1, ...} from "path"
 
PREVIOUS NEXT
Tagged: #export #javascript
ADD COMMENT
Topic
Name
5+7 =