Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // index.js
- import first from './first_module';
- import second from './second_module';
- console.log(first);
- console.log(second(first));
- // first_module.js
- export default Math.PI;
- // second_module.js
- export default (a) => a * a * a;
Add Comment
Please, Sign In to add comment