Document process.crash method
authorMilan Burda <miburda@microsoft.com>
Fri, 22 Apr 2016 21:58:41 +0000 (23:58 +0200)
committerMilan Burda <miburda@microsoft.com>
Fri, 22 Apr 2016 21:58:41 +0000 (23:58 +0200)
docs/api/process.md

index b2d9c765a03aa83d4078b08e52b1846425df5839..4aaa84f89d8191f3fa0a753b66e9f243ed50bf76 100644 (file)
@@ -44,6 +44,10 @@ built-in modules.
 
 The `process` object has the following method:
 
+### `process.crash()`
+
+Causes the main thread of the current process crash.
+
 ### `process.hang()`
 
 Causes the main thread of the current process hang.