You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alvin Cheng edited this page Jan 9, 2023
·
1 revision
Description
Welcome to the export command documentation, the export command can be used to export a variable so it can be used in other files. The export command will add an export flag to indicate it can be exported to another file.
Why import&export code??
Programmers sometimes need to use a particular function multiple times in a program. In an effort to make the program cleaner, programmers can put functions and data in other files for easy navigation. And to use them we need to use export&import.