0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/lib
cjihrig a15cd9d418 console: minor timeLogImpl() refactor
This commit does two things:

- Reverses the boolean value returned by timeLogImpl(). The new
  values make more sense semantically (IMO anyway), and save a
  a single NOT operation.
- Explicitly check for undefined when calling _times.get()
  instead of coercing the value.

PR-URL: https://github.com/nodejs/node/pull/29100
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2019-08-15 16:29:36 +08:00
..
internal console: minor timeLogImpl() refactor 2019-08-15 16:29:36 +08:00
_http_agent.js
_http_client.js http: follow symbol naming convention 2019-08-14 15:54:01 -07:00
_http_common.js http: improve parser error messages 2019-07-05 22:36:53 -07:00
_http_incoming.js
_http_outgoing.js http: follow symbol naming convention 2019-08-14 15:54:01 -07:00
_http_server.js http: follow symbol naming convention 2019-08-14 15:54:01 -07:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js stream: encapsulate buffer-list 2019-08-09 11:11:53 -07:00
_stream_transform.js
_stream_wrap.js
_stream_writable.js stream: inline and simplify onwritedrain 2019-08-09 16:42:14 -07:00
_tls_common.js
_tls_wrap.js
.eslintrc.yaml
assert.js deps: update acorn to 6.2.0 2019-07-15 00:04:50 +02:00
async_hooks.js
buffer.js buffer: improve copy() performance 2019-08-14 15:59:32 -07:00
child_process.js stream: use readableEncoding public api for child_process 2019-07-14 22:27:33 -07:00
cluster.js
console.js
constants.js
crypto.js
dgram.js dgram: changed 'var' to 'let' and 'const' 2019-07-29 23:12:18 -07:00
dns.js dns: update lookupService() first arg name 2019-08-10 19:06:21 -07:00
domain.js domain: use strong reference to domain while active 2019-07-24 20:40:42 -07:00
events.js events: give subclass name in unhandled 'error' message 2019-08-06 19:28:12 -07:00
fs.js fs: validate fds as int32s 2019-08-07 13:27:55 -07:00
http2.js
http.js
https.js
inspector.js inspector: add inspector.waitForDebugger() 2019-07-20 22:19:06 -07:00
module.js
net.js net: shallow copy option when create Server 2019-08-03 21:58:03 -07:00
os.js
path.js path: improve normalization performance 2019-08-05 19:17:32 +08:00
perf_hooks.js perf_hooks: add HttpRequest statistics monitoring #28445 2019-07-12 00:36:27 +02:00
process.js
punycode.js
querystring.js
readline.js lib: rename lib/internal/readline.js 2019-07-20 11:56:53 -07:00
repl.js repl: fix some repl context issues 2019-07-17 20:59:12 -07:00
stream.js
string_decoder.js
sys.js
timers.js
tls.js
trace_events.js
tty.js tty: expose stream API from readline methods 2019-07-18 17:20:45 -04:00
url.js
util.js
v8.js src: export v8.GetHeapCodeAndMetadataStatistics() 2019-07-30 11:36:51 -07:00
vm.js vm: fix gc bug with modules and compiled functions 2019-07-19 16:45:46 -05:00
worker_threads.js
zlib.js zlib: remove usage of public util module 2019-07-19 11:06:29 -07:00