mirror of https://gitee.com/openkylin/nodejs.git
12 lines
295 B
JavaScript
12 lines
295 B
JavaScript
|
// 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());
|