mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
src: Remove outdated comment re assert()
It's a normal function now, not a macro.
This commit is contained in:
1 parent
ed8d97f572
commit
cb53cfd8b5
1 file changed
-3
@@ -248,9 +248,6 @@
|
||||
|
||||
var assert;
|
||||
startup.processAssert = function() {
|
||||
// Note that calls to assert() are pre-processed out by JS2C for the
|
||||
// normal build of node. They persist only in the node_g build.
|
||||
// Similarly for debug().
|
||||
assert = process.assert = function(x, msg) {
|
||||
if (!x) throw new Error(msg || 'assertion error');
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user