> For the complete documentation index, see [llms.txt](https://xiaoxiami.gitbook.io/nodejs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xiaoxiami.gitbook.io/nodejs/zi-wo-jing-yan-ti-shi.md).

# 自我经验提示

由于自己是个php程序员.对于nodejs的项目不是经常写,记录以便提示

* .then() ,直接return 就是一个promise&#x20;
* 简单的业务逻辑是同步的
* 语句有异步的方法才会出现异步
