nodejs/test/parallel/test-js-stream-call-propert...

12 lines
295 B
JavaScript
Raw Normal View History

2022-08-16 11:12:47 +08:00
// Flags: --expose-internals
'use strict';
require('../common');
const util = require('util');
const { internalBinding } = require('internal/test/binding');
const { JSStream } = internalBinding('js_stream');
// Testing if will abort when properties are printed.
util.inspect(new JSStream());