简体   繁体   English

需要什么('..'); 在Node.js中

[英]What does require('..'); in Node.js

我在这里找到这条线的解释是什么?

The file that's in is in the kerberos/test directory. 其中的文件位于kerberos/test目录中。 .. from there is the kerberos directory, so it's basically equivalent to require('kerberos') , except using the one that it's inside instead of searching for one by that name. ..从那里有kerberos目录,因此它基本上等同于require('kerberos') ,除了使用其中的一个而不是使用该名称搜索一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM