Use the `path.resolve()` method to get an absolute path of a file from a relative path in Node.js, e.g. `path.resolve('./some-file.js')`.
確定! 回上一頁