the sequence of require() statements matters!
· October 28, 2015
in case of shared state of modules,i think its worth mentioning that the sequence of require() statements matter.
for example, re-write the app.js like this:
you would get :
Bucky's favorite movie is :
Emily's favorite movie is : The Notebook
Post a Reply