When a file is run directly from Node.js, require.main is set to its module . That means that it is possible to determine whether a file has been run ...
確定! 回上一頁