阅读背景:

如何在所有文件中访问全局变量

来源:互联网 

I have few variables like app key which i need to access across all files i need to have something like initializers which will initialize all my constants in one place and should be able to access across the application? any suggestions on how to implement this initializers in node. i don't want to require the fileI have few variables like app key which i need




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: