如题,我用windows的nodejs,在cmd下进入node,敲出一行代码都会返回undefined,这是为什么?
因为返回值是undefined
那是正常的亲,你用控制台也是一样的好么
你自己到浏览器的console里面也是一样的