mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
This aligns these globals with the regular context. PR-URL: https://github.com/nodejs/node/pull/20717 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
9 lines
280 B
JavaScript
9 lines
280 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const repl = require('repl');
|
|
|
|
// Regression test for https://github.com/nodejs/node/issues/6802
|
|
const input = new common.ArrayStream();
|
|
repl.start({ input, output: process.stdout, useGlobal: true });
|
|
input.run(['let process']);
|