mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
954217adda
If writable/readable has been explicitly disabled then using a Duplex as writable/readable should fail. Fixes: https://github.com/nodejs/node/issues/34374 PR-URL: https://github.com/nodejs/node/pull/34385 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
16 lines
134 B
Plaintext
16 lines
134 B
Plaintext
> >
|
|
console.log("foo")
|
|
foo
|
|
undefined
|
|
> 1 + 2
|
|
3
|
|
> "str"
|
|
'str'
|
|
> console.dir({ a: 1 })
|
|
{ a: 1 }
|
|
undefined
|
|
> { a: 1 }
|
|
{ a: 1 }
|
|
>
|
|
> .exit
|