mirror of https://github.com/lukechilds/node.git
Browse Source
The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing. The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors) uses the assert module in an efficient way to validate required function arguments. PR-URL: https://github.com/nodejs/node/pull/2799 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>v5.x
David Boivin
9 years ago
committed by
Roman Reiss
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue