[Chinese-translation]README.chinese.md - add 3.5

This commit is contained in:
Matt
2017-11-30 23:37:14 +08:00
parent 670024e273
commit a58b8e2fae

View File

@ -265,11 +265,11 @@
<br/><br/>
## ![✔] 3.5 Name Your Functions
## ![✔] 3.5 命名您的方法
**TL;DR:** Name all functions, including closures and callbacks. Avoid anonymous functions. This is especially useful when profiling a node app. Naming all functions will allow you to easily understand what you're looking at when checking a memory snapshot.
**TL;DR:** 命名所有的方法包含闭包和回调。避免匿名方法。当剖析一个node应用的时候这是特别有用的。命名所有的方法将会使您非常容易的理解内存快照中您正在查看的内容。
**Otherwise:** Debugging production issues using a core dump (memory snapshot) might become challenging as you notice significant memory consumption from anonymous functions.
**否则:** 使用一个核心dump内存快照调试线上问题会是一项非常挑战的事项因为你注意到的严重内存泄漏问题极有可能产生于匿名的方法。
<br/><br/>