neeratimounika / export_number_using_es6modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import and Export a Number using ES6 Module Syntax

Create two files exportNumber.mjs, importNumber.mjs parallel to README.md file.

Write a JS program to export the number 25 from the file exportNumber.mjs and export it using the default export syntax.

Import the number in the importNumber.mjs file.

Use ES6 module syntax.

About


Languages

Language:JavaScript 100.0%