Javascript provides you with script tags that allow you to pass data between two files easily. The export statement allows you to pass data easily. Use the following ‘export { }’ to bring in data from another file. The import statement also provides a similar function.