0
       // aoo.js 
        const c =950;
        function hello(){
           console.log(c);
           }
          export default hello;
     // moo.js 
        import q from './aoo';
         console.log(q());

How it is fetching variable c value in "moo.js" ,even though we are not exporting it?

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
Alex_Angular
  • 97
  • 1
  • 6

0 Answers0