Mention plain return

This commit is contained in:
Kevin Sawicki
2014-10-08 14:17:57 -07:00
committed by Kevin Sawicki
parent bdc0341eb3
commit d1f3d7d51e

View File

@@ -62,6 +62,8 @@ For more information on how to work with Atom's official packages, see
* Use `path.join()` to concatenate filenames.
* Use `os.tmpdir()` rather than `/tmp` when you need to reference the
temporary directory.
* Using a plain `return` when returning explicitly at the end of a function.
* Not `return null`, `return undefined`, `null`, or `undefined`
## Git Commit Messages