Why does module.exports = function require no () after the exported function?
              
              #174
            
            
          -
| Context is during the fund me hard hat lesson, for  Why isn't it  | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| Great question! So we are exporting the  We want hardhat to call  To really see, try exporting as you have said! | 
Beta Was this translation helpful? Give feedback.
Great question!
So we are exporting the
deployFuncfunction, we are next exporting the return value ofdeployFuncWe want hardhat to call
deployFunc, we don't want hardhat to call whateverdeployFunchas already returned. Let me know if that makes sense.To really see, try exporting as you have said!