10 lines
312 B
JavaScript
10 lines
312 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const ArrayStream = require('../common/arraystream');
|
|
const repl = require('repl');
|
|
|
|
// Regression test for https://github.com/nodejs/node/issues/6802
|
|
const input = new ArrayStream();
|
|
repl.start({ input, output: process.stdout, useGlobal: true });
|
|
input.run(['let process']);
|