Object.continueSession (C:\Users\thehe\Documents\workspace\work\nft-trading-server\node_modules\pg\lib\sasl.jshandleAuthSASLContinue (C:\Users\thehe\Documents\workspace\work\nft-trading-server\node_modules\pg\lib\client.js390:28)
at C:\Users\thehe\Documents\workspace\work\nft-tradi
在下面的代码(摘自“JavaScript忍者的秘密”中的一个函数的简短版本)中,我不理解“初始化”变量在声明时的行为,而不是未声明时的行为。
如果我声明它,那么它的值总是为false。我注意到的另一件事是,只有当proto = new this()时,声明变量的方式才是相关的,如果proto = new Class(),