0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/doc/api
James M Snell 40a5761969 doc: explain differences in console.assert between node and browsers
Provide an example for implementing browser like behavior for console.assert.

This "fixes" https://github.com/nodejs/node/issues/5340 by providing an
alternative to changing Node.js' implemented behavior. Instead, we
document the differences and show how to work around them if
browser like semantics are desired.

Fixes: https://github.com/nodejs/node/issues/5340
PR-URL: https://github.com/nodejs/node/pull/6169
Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
Reviewed-By: Jeff Harris <@techjeffharris>
2016-04-18 15:42:29 -07:00
..
_toc.markdown doc: add a cli options doc page 2016-03-21 17:33:42 -04:00
addons.markdown doc: fix typo in api/addons 2016-03-14 08:48:08 -07:00
all.markdown doc: add 'Command Line Options' to 'View on single page' 2016-04-02 17:10:44 -07:00
assert.markdown doc: note assert.throws() pitfall 2016-04-04 09:22:06 -07:00
buffer.markdown doc: minor copy improvement in buffer.markdown 2016-04-15 10:36:13 -07:00
child_process.markdown doc: clarification for maxBuffer and Unicode output 2016-04-10 16:17:17 -07:00
cli.markdown node: make builtin libs available for --eval 2016-04-18 15:31:32 -07:00
cluster.markdown doc: add missing property in cluster example 2016-02-27 14:04:51 +01:00
console.markdown doc: explain differences in console.assert between node and browsers 2016-04-18 15:42:29 -07:00
crypto.markdown doc: add example using algorithms not directly exposed 2016-04-08 09:24:57 -07:00
debugger.markdown debugger: run last command on presssing enter 2016-04-14 10:53:07 -07:00
dgram.markdown doc: fix typo in api/dgram 2016-03-14 08:48:03 -07:00
dns.markdown doc: fix dns.resolveCname description typo 2016-03-10 02:16:36 +01:00
documentation.markdown doc: add info to docs on how to submit docs patch 2016-03-07 11:25:15 -08:00
domain.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
errors.markdown tools,doc: parse types in braces everywhere 2016-04-18 09:53:52 -07:00
events.markdown doc: use consistent event name parameter 2016-03-24 15:26:37 +02:00
fs.markdown doc: clarify fs.watch() and inodes on linux, os x 2016-04-18 09:50:37 -07:00
globals.markdown doc: native module reloading is not supported 2016-04-18 15:17:41 -07:00
http.markdown doc: fix markdown links 2016-03-10 14:09:26 +01:00
https.markdown doc: minor improvement to HTTPS doc 2016-02-01 09:14:42 -08:00
index.markdown
modules.markdown doc: explain error message on missing main file 2016-03-21 14:59:13 -07:00
net.markdown net: support DNS hints in createConnection() 2016-04-01 17:03:42 -04:00
os.markdown os: add userInfo() method 2016-04-12 17:21:29 -04:00
path.markdown doc: path.format provide more examples 2016-04-08 17:39:35 -07:00
process.markdown process: add 'warning' event and process.emitWarning() 2016-03-24 13:19:11 -07:00
punycode.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
querystring.markdown doc: fix multiline return comments in querystring 2016-03-17 17:15:06 -03:00
readline.markdown readline: document emitKeypressEvents() 2016-04-05 10:48:47 -04:00
repl.markdown repl: Assignment of _ allowed with warning 2016-03-18 21:03:40 +01:00
stream.markdown doc: minor argument formatting in stream.markdown 2016-04-02 16:39:21 -07:00
string_decoder.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
synopsis.markdown doc: harmonize $ node command line notation 2016-01-22 19:57:19 +01:00
timers.markdown doc: consolidate timers docs in timers.markdown 2016-04-02 14:06:25 -03:00
tls.markdown doc: align doc/api/tls.markdown with style guide 2016-03-20 10:42:04 +02:00
tty.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
url.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
util.markdown doc: document deprecation of util._extend 2016-03-16 12:55:55 -07:00
v8.markdown doc: update V8 URL 2016-03-02 23:22:29 +01:00
vm.markdown vm: fix produceCachedData 2016-02-21 14:59:35 -05:00
zlib.markdown zlib: Make the finish flush flag configurable 2016-04-17 17:01:55 +02:00