1'use strict'; 2require('../common'); 3const ArrayStream = require('../common/arraystream'); 4const repl = require('repl'); 5 6// Regression test for https://github.com/nodejs/node/issues/6802 7const input = new ArrayStream(); 8repl.start({ input, output: process.stdout, useGlobal: true }); 9input.run(['let process']); 10