1'use strict'; 2require('../common'); 3const repl = require('repl'); 4 5const replserver = new repl.REPLServer(); 6 7replserver._inTemplateLiteral = true; 8 9// `null` gets treated like an empty string. (Should it? You have to do some 10// strange business to get it into the REPL. Maybe it should really throw?) 11 12replserver.emit('line', null); 13replserver.emit('line', '.exit'); 14