nodejs/test/parallel/test-console-self-assign.js

7 lines
150 B
JavaScript

'use strict';
require('../common');
// Assigning to itself should not throw.
global.console = global.console; // eslint-disable-line no-self-assign