Use require when you need to cache object forever. And better use Object.freeze to avoid mutating it in application. Use readFileSync in unit tests or on ...
確定! 回上一頁